You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2022/01/06 10:12:00 UTC
[jira] [Created] (SPARK-37828) Push down filters through RebalancePartitions
Yuming Wang created SPARK-37828:
-----------------------------------
Summary: 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
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