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

[jira] [Commented] (SPARK-37542) Optimize the dynamic partitioning prune rules to avoid inserting unnecessary predicates to improve performance

    [ https://issues.apache.org/jira/browse/SPARK-37542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453301#comment-17453301 ] 

Apache Spark commented on SPARK-37542:
--------------------------------------

User 'weixiuli' has created a pull request for this issue:
https://github.com/apache/spark/pull/34805

> Optimize the dynamic partitioning prune rules to avoid inserting unnecessary predicates to improve performance
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-37542
>                 URL: https://issues.apache.org/jira/browse/SPARK-37542
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.1.1, 3.1.2, 3.2.0
>            Reporter: weixiuli
>            Priority: Major
>
> Currently, the dynamic partition pruning rule will insert a predicate on the filterable table using the filter from the other side of the join and a custom wrapper called DynamicPruning,and the predicate will be re-optimized by the AQE or non-AQE.
> But, sometimes the predicate may be unnecessary if the join can NOT reuse broadcastExchange or it is not benefit,and it will be dropped by the rules of  the AQE or non-AQE.
> We should optimize the dynamic partitioning pruning rule to avoid inserting unnecessary predicates to improve performance.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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