wqc200 commented on a change in pull request #9600:
URL: https://github.com/apache/arrow/pull/9600#discussion_r585522814



##########
File path: rust/datafusion/src/logical_plan/expr.rs
##########
@@ -160,20 +160,26 @@ pub enum Expr {
     },
     /// Represents the call of a built-in scalar function with a set of 
arguments.
     ScalarFunction {
+        /// The input name of the function
+        input_name: String,

Review comment:
       This is mainly used to display the name of the function entered by the 
user. 
   md5 (Utf8("a")) instead of mD5(Utf8("a")) if there is no input_name.
   
   For example:
   
   > mysql> select mD5('a');
   > +----------------------------------+
   > | mD5(Utf8("a"))                   |
   > +----------------------------------+
   > | 0cc175b9c0f1b6a831c399e269772661 |
   > +----------------------------------+
   > 1 row in set (0.01 sec)
   




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

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


Reply via email to