cloud-fan commented on pull request #30467: URL: https://github.com/apache/spark/pull/30467#issuecomment-740453544
I don't think this is the right direction, as people will ask for more in the future, like supporting 3-level nested array. At the end, you can't even tell what `a.b` means, as `a` can be an arbitrarily nested array. I like the `unnest` from BigQuery as it has a clear semantic. The `explode` approach also works so I don't see why we need this feature. I'm fine to add `unnest` to Spark as an alternative to solve this use case. ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
