You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/12/08 08:02:08 UTC

[GitHub] [spark] cloud-fan commented on pull request #30467: [SPARK-32002][SQL]Support ExtractValue from nested ArrayStruct

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org