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))` 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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to