[ https://issues.apache.org/jira/browse/SPARK-37828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuming Wang resolved SPARK-37828. --------------------------------- Fix Version/s: 3.3.0 Resolution: Fixed Issue resolved by pull request 35118 [https://github.com/apache/spark/pull/35118] > 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: Yuming Wang > Priority: Major > Fix For: 3.3.0 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org