-
Couldn't load subscription status.
- Fork 28.9k
[SPARK-29544] [SQL] optimize skewed partition based on data size #26434
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
Changes from all commits
ea18aa6
84c0935
dd30240
84d5f2f
782ee14
98315ff
4b9fe4b
9c7f857
8d9f147
e7671bc
2558fcb
0af3b85
2139f90
8f12a2b
4d25621
fd9a1aa
cac6ca8
b464b22
62bb950
a0e03b6
a22b804
cee1c8c
4abad37
ac17a7c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -87,6 +87,10 @@ case class AdaptiveSparkPlanExec( | |
| // optimizations should be stage-independent. | ||
| @transient private val queryStageOptimizerRules: Seq[Rule[SparkPlan]] = Seq( | ||
| ReuseAdaptiveSubquery(conf, context.subqueryCache), | ||
| // Here the 'OptimizeSkewedPartitions' rule should be executed | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. comment out-of-date There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok. I Will update later. |
||
| // before 'ReduceNumShufflePartitions', as the skewed partition handled | ||
| // in 'OptimizeSkewedPartitions' rule, should be omitted in 'ReduceNumShufflePartitions'. | ||
| OptimizeSkewedJoin(conf), | ||
| ReduceNumShufflePartitions(conf), | ||
| // The rule of 'OptimizeLocalShuffleReader' need to make use of the 'partitionStartIndices' | ||
| // in 'ReduceNumShufflePartitions' rule. So it must be after 'ReduceNumShufflePartitions' rule. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.