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 2022/01/06 10:37:00 UTC
[jira] [Assigned] (SPARK-37828) Push down filters through RebalancePartitions
[ https://issues.apache.org/jira/browse/SPARK-37828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-37828:
------------------------------------
Assignee: Apache Spark
> Push down filters through RebalancePartitions
> ---------------------------------------------
>
> Key: SPARK-37828
> URL: https://issues.apache.org/jira/browse/SPARK-37828
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: Yuming Wang
> Assignee: Apache Spark
> Priority: Major
>
> How to reproduce this issue:
> {code:scala}
> spark.sql("SELECT * FROM (SELECT /*+ REBALANCE */ * from range(10)) t11 WHERE id = 3").explain(true)
> {code}
> Output:
> {noformat}
> == Optimized Logical Plan ==
> Filter (id#0L = 3)
> +- RebalancePartitions
> +- Range (0, 10, step=1, splits=None)
> {noformat}
> Expected:
> {noformat}
> == Optimized Logical Plan ==
> RebalancePartitions
> +- Filter (id#0L = 3)
> +- Range (0, 10, step=1, splits=None)
> {noformat}
--
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