Prakhar Jain created SPARK-32509:
------------------------------------

             Summary: Unused DPP Filter causes issue in canonicalization and 
prevents reuse exchange
                 Key: SPARK-32509
                 URL: https://issues.apache.org/jira/browse/SPARK-32509
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0, 3.0.1, 3.1.0
            Reporter: Prakhar Jain


As part of PlanDynamicPruningFilter rule, the unused DPP Filter are simply 
replaced by `DynamicPruningExpression(TrueLiteral)` so that they can be 
avoided. But these unnecessary`DynamicPruningExpression(TrueLiteral)` partition 
filter inside the FileSourceScanExec affects the canonicalization of the node 
and so in many cases, this can prevent ReuseExchange from happening.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to