(
&self,
args: Vec<FunctionArg>,
schema: &DFSchema,
planner_context: &mut PlannerContext,
)
| 1113 | } |
| 1114 | |
| 1115 | pub(super) fn function_args_to_expr_with_names( |
| 1116 | &self, |
| 1117 | args: Vec<FunctionArg>, |
| 1118 | schema: &DFSchema, |
| 1119 | planner_context: &mut PlannerContext, |
| 1120 | ) -> Result<(Vec<Expr>, Vec<Option<ArgumentName>>)> { |
| 1121 | let results: Result<Vec<(Expr, Option<ArgumentName>)>> = args |
| 1122 | .into_iter() |
| 1123 | .map(|a| { |
| 1124 | self.sql_fn_arg_to_logical_expr_with_name(a, schema, planner_context) |
| 1125 | }) |
| 1126 | .collect(); |
| 1127 | |
| 1128 | let pairs = results?; |
| 1129 | let (exprs, names): (Vec<Expr>, Vec<Option<ArgumentName>>) = |
| 1130 | pairs.into_iter().unzip(); |
| 1131 | Ok((exprs, names)) |
| 1132 | } |
| 1133 | |
| 1134 | #[expect(dead_code)] |
| 1135 | fn extract_and_prepend_within_group_args( |
no test coverage detected