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/09/04 19:26:24 UTC

[GitHub] [spark] viirya commented on pull request #29645: [SPARK-32796][SQL] Make withField API support nested struct in array

viirya commented on pull request #29645:
URL: https://github.com/apache/spark/pull/29645#issuecomment-687337325


   @cloud-fan @HyukjinKwon Thanks for comment. So let me get more ideas from you. This is like a syntax sugar to more easily express complex nested `withField` chain. I think we can explicitly expression it by using `transform` + `withField`, but as it goes deeply more, the syntax becomes hard to express and read. This doesn't create new syntax other than `a.b` used to access nested field in array, but just leverages existing one.


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