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

Method function_args_to_expr

datafusion/sql/src/expr/function.rs:1104–1113  ·  view source on GitHub ↗
(
        &self,
        args: Vec<FunctionArg>,
        schema: &DFSchema,
        planner_context: &mut PlannerContext,
    )

Source from the content-addressed store, hash-verified

1102 }
1103
1104 pub(super) fn function_args_to_expr(
1105 &self,
1106 args: Vec<FunctionArg>,
1107 schema: &DFSchema,
1108 planner_context: &mut PlannerContext,
1109 ) -> Result<Vec<Expr>> {
1110 args.into_iter()
1111 .map(|a| self.sql_fn_arg_to_logical_expr(a, schema, planner_context))
1112 .collect::<Result<Vec<Expr>>>()
1113 }
1114
1115 pub(super) fn function_args_to_expr_with_names(
1116 &self,

Callers 1

sql_function_to_exprMethod · 0.80

Calls 3

mapMethod · 0.45
into_iterMethod · 0.45

Tested by

no test coverage detected