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

Function lambda_var

datafusion/expr/src/expr_fn.rs:738–740  ·  view source on GitHub ↗

Create an unresolved lambda variable expression The expression tree or [`LogicalPlan`] which owns this variable must be resolved before usage with either [`Expr::resolve_lambda_variables`] or [`LogicalPlan::resolve_lambda_variables`]. [LogicalPlan::resolve_lambda_variables]: crate::LogicalPlan::resolve_lambda_variables

(name: impl Into<String>)

Source from the content-addressed store, hash-verified

736///
737/// [LogicalPlan::resolve_lambda_variables]: crate::LogicalPlan::resolve_lambda_variables
738pub fn lambda_var(name: impl Into<String>) -> Expr {
739 Expr::LambdaVariable(LambdaVariable::new(name.into(), None))
740}
741
742/// Extensions for configuring [`Expr::AggregateFunction`] or [`Expr::WindowFunction`]
743///

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
LambdaVariableClass · 0.70
intoMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…