Github user hvanhovell commented on the issue:

    https://github.com/apache/spark/pull/14444
  
    This happens if you don't provide an alias for the expression.
    
    To me this is not really a backwards compatibility issue. Yes, the default 
alias is changed, but think of the use case for this. What user is going to use 
the name `struct(a, b, ...)` in any of his queries? So to me this is not really 
a backwards compatibility issue. I feel that we should press ahead and update 
the test.
    
    If you feel strongly about it, lets just add an `anonymous` flag to the 
`CreateNamedStruct`. I think that adding common parent or trait is way to much 
complexity for changing the name.



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

Reply via email to