maropu commented on issue #27803: [SPARK-31049][SQL] Support nested adjacent 
generators, e.g., explode(explode(v))
URL: https://github.com/apache/spark/pull/27803#issuecomment-596365067
 
 
   Thanks for your question, @dongjoon-hyun. Yea, actually no. But, I saw some 
usecases on the web where users expand nested arrays by a `unnest` function in 
potgresql and google big query;
   ```
   postgres=# select unnest(ARRAY[ARRAY[1,2],ARRAY[3,4]]);
    unnest 
   --------
         1
         2
         3
         4
   (4 rows)
   ```
   Based on this, IMO extending the existing `explode` for nested arrays seems 
helpful for users.
   FYI: we already have the 
[jira](https://issues.apache.org/jira/browse/SPARK-28382) for implementing the 
unnest function, but we've closed the jira because of our policy as you know.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to