[ https://issues.apache.org/jira/browse/SPARK-16839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15402920#comment-15402920 ]
Apache Spark commented on SPARK-16839: -------------------------------------- User 'eyalfa' has created a pull request for this issue: https://github.com/apache/spark/pull/14444 > CleanupAliases may leave redundant aliases at end of analysis state > ------------------------------------------------------------------- > > Key: SPARK-16839 > URL: https://issues.apache.org/jira/browse/SPARK-16839 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 1.6.1, 2.0.0 > Reporter: Eyal Farago > Priority: Minor > Labels: alias, analysis, analyzers, sql, struct > Original Estimate: 72h > Remaining Estimate: 72h > > [SPARK-9634] [SPARK-9323] [SQL] introduced CleanupReferences which removes > unnecessary Aliases while keeping required ones such as top level Projection > and struct attributes. this mechanism is implemented by maintaining a boolean > flag during a top-down expression transformation, I found a case where this > mechanism leaves redundant aliases in the tree (within a right sibling of a > create_struct node). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org