-
Notifications
You must be signed in to change notification settings - Fork 28k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-35675][SQL] EnsureRequirements remove shuffle should respect PartitioningCollection #32815
Conversation
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #139457 has finished for PR 32815 at commit
|
|
||
test("SPARK-35675: EnsureRequirements remove shuffle should respect PartitioningCollection") { | ||
val local = spark | ||
import local.implicits._ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: usually we do import testImplicits.*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #139552 has finished for PR 32815 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status failure |
thanks, merged to master |
thanks for merging ! |
Test build #139605 has finished for PR 32815 at commit
|
What changes were proposed in this pull request?
Add
PartitioningCollection
in EnsureRequirements during remove shuffle.Why are the changes needed?
Currently
EnsureRequirements
only check if child has semantic equalHashPartitioning
and removeredundant shuffle. We can enhance this case using
PartitioningCollection
.Does this PR introduce any user-facing change?
Yes, plan might be changed.
How was this patch tested?
Add test.