OptimizeSkewInRebalancePartitions Adaptive Physical Optimization¶
OptimizeSkewInRebalancePartitions is a physical optimization in Adaptive Query Execution.
OptimizeSkewInRebalancePartitions can be turned on and off using spark.sql.adaptive.optimizeSkewsInRebalancePartitions.enabled configuration property.
Executing Rule¶
apply works with ShuffleQueryStageExec leaf physical operators only (with the ShuffleExchangeLikes that are supported).
apply tryOptimizeSkewedPartitions of the ShuffleQueryStageExec.
tryOptimizeSkewedPartitions¶
tryOptimizeSkewedPartitions...FIXME
Supported ShuffleOrigins¶
AQEShuffleReadRule
supportedShuffleOrigins is part of the AQEShuffleReadRule abstraction.
supportedShuffleOrigins is a collection of the following ShuffleOrigins: