[ 
https://issues.apache.org/jira/browse/SPARK-27633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated SPARK-27633:
----------------------------------
    Affects Version/s:     (was: 3.0.0)
                       3.1.0

> Remove redundant aliases in NestedColumnAliasing
> ------------------------------------------------
>
>                 Key: SPARK-27633
>                 URL: https://issues.apache.org/jira/browse/SPARK-27633
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: L. C. Hsieh
>            Priority: Major
>
> In NestedColumnAliasing rule, we create aliases for nested field access in 
> project list. We considered that top level parent field and nested fields 
> under it were both accessed. In the case, we don't create the aliases because 
> they are redundant.
> There is another case, where a nested parent field and nested fields under it 
> were both accessed, which we don't consider now. We don't need to create 
> aliases in this case too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to