You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Liang-Chi Hsieh (JIRA)" <ji...@apache.org> on 2019/05/05 04:53:00 UTC
[jira] [Created] (SPARK-27633) Remove redundant aliases in
NestedColumnAliasing
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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org