Uh oh!
There was an error while loading. Please reload this page.
[SPARK-30074][SQL] The maxNumPostShufflePartitions config should obey reducePostShufflePartitions enabled - #26664
[SPARK-30074][SQL] The maxNumPostShufflePartitions config should obey reducePostShufflePartitions enabled#26664xuanyuanking wants to merge 3 commits into
Conversation
| buildConf("spark.sql.adaptive.shuffle.targetPostShuffleInputSize") | ||
| .doc("The target post-shuffle input size in bytes of a task.") | ||
| .doc("The target post-shuffle input size in bytes of a task. This configuration only has " + | ||
| s"an effect when '${ADAPTIVE_EXECUTION_ENABLED.key}' is enabled.") |
There was a problem hiding this comment.
and also when spark.sql.adaptive.shuffle.reducePostShufflePartitions.enabled is true?
There was a problem hiding this comment.
Thanks, fix the doc of SHUFFLE_MIN_NUM_POSTSHUFFLE_PARTITIONS and SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.
SparkQA
commented
Nov 25, 2019
Test build #114407 has finished for PR 26664 at commit
|
SparkQA
commented
Nov 25, 2019
Test build #114423 has finished for PR 26664 at commit
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
SparkQA
commented
Nov 29, 2019
Test build #114602 has finished for PR 26664 at commit
|
xuanyuanking
commented
Nov 29, 2019
retest this please. |
SparkQA
commented
Nov 29, 2019
Test build #114617 has finished for PR 26664 at commit
|
cloud-fan
commented
Dec 2, 2019
thanks, merging to master! |
xuanyuanking
commented
Dec 2, 2019
Thanks! |
| case class EnsureRequirements(conf: SQLConf) extends Rule[SparkPlan] { | ||
| private def defaultNumPreShufflePartitions: Int = | ||
| if (conf.adaptiveExecutionEnabled) { | ||
| if (conf.adaptiveExecutionEnabled && conf.reducePostShufflePartitionsEnabled) { |
There was a problem hiding this comment.
@xuanyuanking is there any UT verifying the number of shuffle partitions dependent on values of these two configurations ?
… reducePostShufflePartitions enabled ### What changes were proposed in this pull request? 1. Make maxNumPostShufflePartitions config obey reducePostShfflePartitions config. 2. Update the description for all the SQLConf affected by `spark.sql.adaptive.enabled`. ### Why are the changes needed? Make the relation between these confs clearer. ### Does this PR introduce any user-facing change? No ### How was this patch tested? Existing UT. Closesapache#26664 from xuanyuanking/SPARK-9853-follow. Authored-by: Yuanjian Li <xyliyuanjian@gmail.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
What changes were proposed in this pull request?
spark.sql.adaptive.enabled.Why are the changes needed?
Make the relation between these confs clearer.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing UT.