jayzhan211 commented on code in PR #10469: URL: https://github.com/apache/datafusion/pull/10469#discussion_r1598377661
########## datafusion/functions-array/src/macros.rs: ########## @@ -106,4 +105,26 @@ macro_rules! make_udf_function { } } }; + // This pattern does not generate the "fluent expr_fn" style function, it should be provided externally. + ($UDF:ty, $SCALAR_UDF_FN:ident) => { Review Comment: I would recommend to pull out `create_function` like https://github.com/apache/datafusion/blob/main/datafusion/functions-aggregate/src/macros.rs. -- 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