jayzhan211 commented on code in PR #11526: URL: https://github.com/apache/datafusion/pull/11526#discussion_r1681964481
########## datafusion/sql/src/expr/function.rs: ########## @@ -229,8 +229,23 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> { // user-defined function (UDF) should have precedence if let Some(fm) = self.context_provider.get_function_meta(&name) { - let args = self.function_args_to_expr(args, schema, planner_context)?; - return Ok(Expr::ScalarFunction(ScalarFunction::new_udf(fm, args))); + let argss = + self.function_args_to_expr(args.clone(), schema, planner_context)?; + + // TODO: ExprPlanner + if name == "map" { Review Comment: Replace with scalar planner -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org