Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6593,20 +6593,20 @@ object SQLConf {
.booleanConf
.createWithDefault(true)

val MERGE_SUBPLANS_SYMMETRIC_FILTER_PROPAGATION_ENABLED =
buildConf("spark.sql.optimizer.mergeSubplans.symmetricFilterPropagation.enabled")
.doc("When set to true, two non-grouping aggregate subplans that both have filter " +
"conditions (but with different predicates) can be merged into a single scan using " +
"FILTER (WHERE ...) clauses on each aggregate expression. " +
"Merging two filtered scans broadens the combined filter to OR(f1, f2), which may " +
"reduce IO pruning (e.g. partition or file skipping) compared to the individual " +
"filters. Disabled by default; enable once the behaviour has been validated in your " +
"workload, particularly on heavily partitioned or file-pruned tables. " +
s"Has no effect when ${MERGE_SUBPLANS_FILTER_PROPAGATION_ENABLED.key} is false.")
.version("4.2.0")
.withBindingPolicy(ConfigBindingPolicy.SESSION)
.booleanConf
.createWithDefault(false)
val MERGE_SUBPLANS_SYMMETRIC_FILTER_PROPAGATION_ENABLED = buildConf(
"spark.sql.optimizer.mergeSubplans.filterPropagation.symmetricFilterPropagation.enabled")
.doc("When set to true, two non-grouping aggregate subplans that both have filter " +
"conditions (but with different predicates) can be merged into a single scan using " +
"FILTER (WHERE ...) clauses on each aggregate expression. " +
"Merging two filtered scans broadens the combined filter to OR(f1, f2), which may " +
"reduce IO pruning (e.g. partition or file skipping) compared to the individual " +
"filters. Disabled by default; enable once the behaviour has been validated in your " +
"workload, particularly on heavily partitioned or file-pruned tables. " +
s"Has no effect when ${MERGE_SUBPLANS_FILTER_PROPAGATION_ENABLED.key} is false.")
.version("4.2.0")
.withBindingPolicy(ConfigBindingPolicy.SESSION)
.booleanConf
.createWithDefault(false)

val ERROR_MESSAGE_FORMAT = buildConf("spark.sql.error.messageFormat")
.doc("When PRETTY, the error message consists of textual representation of error class, " +
Expand Down