You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jackwener (via GitHub)" <gi...@apache.org> on 2023/05/08 15:23:45 UTC

[GitHub] [arrow-datafusion] jackwener commented on a diff in pull request #6281: refactor: Expr::ScalarFunction to use a struct

jackwener commented on code in PR #6281:
URL: https://github.com/apache/arrow-datafusion/pull/6281#discussion_r1187578800


##########
datafusion/expr/src/expr.rs:
##########
@@ -353,6 +348,22 @@ impl Between {
     }
 }
 
+/// ScalarFunction expression
+#[derive(Clone, PartialEq, Eq, Hash)]
+pub struct ScalarFunction {
+    /// The function
+    pub fun: built_in_function::BuiltinScalarFunction,

Review Comment:
   It's a great idea, add issue #6282 to track it



-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org