jayzhan211 commented on code in PR #9592:
URL: https://github.com/apache/arrow-datafusion/pull/9592#discussion_r1523087919


##########
datafusion/expr/src/expr_schema.rs:
##########
@@ -113,7 +114,22 @@ impl ExprSchemable for Expr {
                     .iter()
                     .map(|e| e.get_type(schema))
                     .collect::<Result<Vec<_>>>()?;
-                Ok(arg_data_types[0].clone())
+                let arg_data_type = arg_data_types[0].clone();
+                // Unnest's output type is the inner type of the list
+                match arg_data_type{

Review Comment:
   👍 +1



##########
datafusion/expr/src/expr_schema.rs:
##########
@@ -113,7 +114,22 @@ impl ExprSchemable for Expr {
                     .iter()
                     .map(|e| e.get_type(schema))
                     .collect::<Result<Vec<_>>>()?;
-                Ok(arg_data_types[0].clone())
+                let arg_data_type = arg_data_types[0].clone();
+                // Unnest's output type is the inner type of the list
+                match arg_data_type{

Review Comment:
   👍 



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