You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Prakhar Jain (Jira)" <ji...@apache.org> on 2020/07/31 12:06:00 UTC

[jira] [Created] (SPARK-32509) Unused DPP Filter causes issue in canonicalization and prevents reuse exchange

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org