alamb opened a new issue, #10397:
URL: https://github.com/apache/datafusion/issues/10397

                 I think it is possible to take `Vec` like what functions-array 
macro does
   
   ```rust
   ($UDF:ty, $EXPR_FN:ident, $DOC:expr , $SCALAR_UDF_FN:ident) => {
           paste::paste! {
               // "fluent expr_fn" style function
               #[doc = $DOC]
               pub fn $EXPR_FN(arg: Vec<Expr>) -> Expr {
                   Expr::ScalarFunction(ScalarFunction::new_udf(
                       $SCALAR_UDF_FN(),
                       arg,
                   ))
               }
   ```
   
   _Originally posted by @jayzhan211 in 
https://github.com/apache/datafusion/pull/10321#discussion_r1585700474_
               


-- 
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.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

Reply via email to