Takeshi Yamamuro created SPARK-32741:
----------------------------------------

             Summary: Check if the same ExprId refers to the unique attribute 
in logical plans
                 Key: SPARK-32741
                 URL: https://issues.apache.org/jira/browse/SPARK-32741
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.1.0
            Reporter: Takeshi Yamamuro


Some plan transformations (e.g., `RemoveNoopOperators`) implicitly assume the 
same `ExprId` refers to the unique attribute. But, `RuleExecutor` does not 
check this integrity between logical plan transformations. So, this ticket 
targets at adding this check in `isPlanIntegral` of `Analyzer`/`Optimizer`.

This PR comes from the talk with @cloud-fan @viirya in 
https://github.com/apache/spark/pull/29485#discussion_r475346278



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

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

Reply via email to