Liang-Chi Hsieh created SPARK-27633:
---------------------------------------
Summary: 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.0.0
Reporter: Liang-Chi Hsieh
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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]