Github user yijieshen commented on the pull request:
https://github.com/apache/spark/pull/6881#issuecomment-113145106
I prefer to keep the origin column names in the newly created struct, since
I think it's more meaningful than `col1, col2, col3`, and we could just leave
the unnamed columns to `col1, col2 ...`, which is also compatible with Hive's
semantic.
I've also made related changes in #6874 to loosen parameter requirements of
[`struct`](https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L723)
---
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]