MCPcopy Create free account
hub / github.com/apache/datafusion / expressions

Method expressions

datafusion/functions-window/src/lead_lag.rs:252–256  ·  view source on GitHub ↗

Handles the case where `NULL` expression is passed as an argument to `lead`/`lag`. The type is refined depending on the default value argument. For more details see:

(&self, expr_args: ExpressionArgs)

Source from the content-addressed store, hash-verified

250 ///
251 /// For more details see: <https://github.com/apache/datafusion/issues/12717>
252 fn expressions(&self, expr_args: ExpressionArgs) -> Vec<Arc<dyn PhysicalExpr>> {
253 parse_expr(expr_args.input_exprs(), expr_args.input_fields())
254 .into_iter()
255 .collect::<Vec<_>>()
256 }
257
258 fn partition_evaluator(
259 &self,

Callers

nothing calls this directly

Calls 4

parse_exprFunction · 0.70
into_iterMethod · 0.45
input_exprsMethod · 0.45
input_fieldsMethod · 0.45

Tested by

no test coverage detected