-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-22465][CORE][FOLLOWUP]Use existing partitioner when defaultNumPartitions is equal to maxPartitioner.numPartitions #23581
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
Conversation
|
ping @cloud-fan @jiangxb1987 @mridulm @sujithjay . Please take a look, thanks :) |
|
kindly ping |
|
ok to test |
|
Test build #101482 has finished for PR 23581 at commit
|
|
retest this please. |
| } | ||
|
|
||
| // If the existing max partitioner is an eligible one, or its partitions number is larger | ||
| // than the default number of partitions, use the existing partitioner. |
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.
shall we update the comment?
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.
sure.
|
retest this please |
|
Test build #101505 has finished for PR 23581 at commit
|
|
Test build #101507 has finished for PR 23581 at commit
|
|
thanks, merging to master! |
|
Thanks @cloud-fan @srowen ! |
…mPartitions is equal to maxPartitioner.numPartitions ## What changes were proposed in this pull request? Followup of apache#20091. We could also use existing partitioner when defaultNumPartitions is equal to the maxPartitioner's numPartitions. ## How was this patch tested? Existed. Closes apache#23581 from Ngone51/dev-use-existing-partitioner-when-defaultNumPartitions-equalTo-MaxPartitioner#-numPartitions. Authored-by: Ngone51 <ngone_5451@163.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
What changes were proposed in this pull request?
Followup of #20091. We could also use existing partitioner when defaultNumPartitions is equal to the maxPartitioner's numPartitions.
How was this patch tested?
Existed.