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 08:33:57 UTC

[GitHub] [spark] HyukjinKwon edited a comment on pull request #29645: [SPARK-32796][SQL] Make withField API support nested struct in array

HyukjinKwon edited a comment on pull request #29645:
URL: https://github.com/apache/spark/pull/29645#issuecomment-687008542


   I personally more prefer an explicit call such as `transform($"struct_col", _.withField("new_col", col))` more as it's more explicit but I got that this can be sort of similar with  the nested column access in SQL like `a.b` supports the arrays of structs. No strong opinion on this. WDYT @cloud-fan.


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