A
Size: a a a
A
A
ЕГ
ЕГ
ЕГ
A
A
EnsureRequirements may remove user-specified repartition and assume the query plan won'tinputPlan which has not been processed by EnsureRequirements yet, to find out theЕГ
ЕГ
A
spark.sql.adaptive.coalescePartitions.enabledval COALESCE_PARTITIONS_ENABLED =
buildConf("spark.sql.adaptive.coalescePartitions.enabled").doc(s"When true and '${ADAPTIVE_EXECUTION_ENABLED.key}' is true, Spark will coalesce " +
"contiguous shuffle partitions according to the target size (specified by " +
s"'${ADVISORY_PARTITION_SIZE_IN_BYTES.key}'), to avoid too many small tasks.").version("3.0.0").booleanConf
.createWithDefault(true)A
A
val COALESCE_PARTITIONS_PARALLELISM_FIRST =
buildConf("spark.sql.adaptive.coalescePartitions.parallelismFirst").doc("When true, Spark does not respect the target size specified by " +
s"'${ADVISORY_PARTITION_SIZE_IN_BYTES.key}' (default 64MB) when coalescing contiguous " +
"shuffle partitions, but adaptively calculate the target size according to the default " +
"parallelism of the Spark cluster. The calculated size is usually smaller than the " +
"configured target size. This is to maximize the parallelism and avoid performance " +
"regression when enabling adaptive query execution. It's recommended to set this config " +
"to false and respect the configured target size.").version("3.2.0").booleanConf
.createWithDefault(true)A
ЕГ
N
A
R
R
CO
ЕГ