You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/01/06 10:34:54 UTC
[GitHub] [spark] wangyum opened a new pull request #35118: [SPARK-37828][SQL] Push down filters through RebalancePartitions
wangyum opened a new pull request #35118:
URL: https://github.com/apache/spark/pull/35118
### What changes were proposed in this pull request?
Push down filters through RebalancePartitions. How to reproduce this issue:
```scala
spark.sql("SELECT * FROM (SELECT /*+ REBALANCE */ * from range(10)) t11 WHERE id = 3").explain(true)
```
Output:
```
== Optimized Logical Plan ==
Filter (id#0L = 3)
+- RebalancePartitions
+- Range (0, 10, step=1, splits=None)
```
After this pr:
```
RebalancePartitions
+- Filter (id#0L = 3)
+- Range (0, 10, step=1, splits=None)
```
### Why are the changes needed?
Improve query performance.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Unit test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] wangyum closed pull request #35118: [SPARK-37828][SQL] Push down filters through RebalancePartitions
Posted by GitBox <gi...@apache.org>.
wangyum closed pull request #35118:
URL: https://github.com/apache/spark/pull/35118
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] wangyum commented on pull request #35118: [SPARK-37828][SQL] Push down filters through RebalancePartitions
Posted by GitBox <gi...@apache.org>.
wangyum commented on pull request #35118:
URL: https://github.com/apache/spark/pull/35118#issuecomment-1008465801
Merged to master.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org