Tathagata Das created SPARK-25752:
-------------------------------------

             Summary: Add trait to easily whitelist logical operators that 
produce named output from CleanupAliases
                 Key: SPARK-25752
                 URL: https://issues.apache.org/jira/browse/SPARK-25752
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Tathagata Das
            Assignee: Tathagata Das


The rule `CleanupAliases` cleans up aliases from logical operators that do not 
match a whitelist. This whitelist is hardcoded inside the rule which is 
cumbersome. This PR is to clean that up by making a trait `HasNamedOutput` that 
will be ignored by `CleanupAliases` and other ops that require aliases to be 
preserved in the operator should extend it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to