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


##########
datafusion/expr/src/expr.rs:
##########
@@ -186,7 +186,16 @@ pub enum Expr {
 
 #[derive(Clone, PartialEq, Eq, Hash, Debug)]
 pub struct Unnest {
-    pub exprs: Vec<Expr>,
+    pub expr: Box<Expr>,

Review Comment:
   https://www.postgresql.org/docs/current/functions-array.html
   It was Vec since there are multi-columns in postgres.
   
   `select * from unnest(ARRAY[1,2], ARRAY['foo','bar','baz']) as x(a,b) →`



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