Ted-Jiang commented on code in PR #2389:
URL: https://github.com/apache/arrow-datafusion/pull/2389#discussion_r863566521


##########
datafusion/expr/src/function.rs:
##########
@@ -222,6 +222,14 @@ pub fn return_type(
             _ => Ok(DataType::Float64),
         },
 
+        BuiltinScalarFunction::Struct => {
+            let fields = input_expr_types
+                .iter()
+                .map(|x| Field::new("item", x.clone(), true))

Review Comment:
   Fix, It should only need the DataType info, no need for fields name



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to