Github user eyalfa commented on the issue: https://github.com/apache/spark/pull/14444 @cloud-fan, please see this [https://github.com/apache/spark/blob/1dbb725dbef30bf7633584ce8efdb573f2d92bca/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L1104-L1115](url), it seems that there's a strong guarantee that CreateStruct respects aliases and other types of named columns. furthermore, CreateNamedStruct is missing from this api/dsl which leaves users with no other viable way to name their structs attributes. btw, can you please retest this? thanks.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org