Github user eyalfa commented on the issue:
https://github.com/apache/spark/pull/14444
@HyukjinKwon ,this pr started with a 'rewrite' of struct into named_struct
(in order to fix an analysis bug), it later evolved into a complete removal of
CreateStruct. I guess we did think about the pretty print representation of the
tree (after all any analysis/optimizer change results with a different tree)
but we didn't think about the way it affects names of 'anonymous' columns
-which is exactly what happens in this case.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]