dongjoon-hyun edited a comment on issue #27803: [SPARK-31049][SQL] Support nested adjacent generators, e.g., explode(explode(v)) URL: https://github.com/apache/spark/pull/27803#issuecomment-605759929 BTW, @maropu . After rethinking about this, the current approach of this PR also looks okay because it works like the following. In other words, this PR supports more deep-invocations if we add more `explode`. ``` scala> sql("select explode(explode(explode(array(array(array(array(1, 2), array(3, 4)))))))").show() +------+ | col| +------+ |[1, 2]| |[3, 4]| +------+ scala> sql("select explode(explode(explode(explode(array(array(array(array(1, 2), array(3, 4))))))))").show() +---+ |col| +---+ | 1| | 2| | 3| | 4| +---+ ```
---------------------------------------------------------------- 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]
