Skip to content

Commit eb56e01

Browse files
authored
Merge pull request #881 from Altinity/backports/25.3/80583_iceberg_enable_part_pruning_by_default
Antalya 25.3: Backport of ClickHouse#80583 - Iceberg enable part pruning by default
2 parents 39a367b + c8f46e9 commit eb56e01

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Core/Settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5719,7 +5719,7 @@ Query Iceberg table using the specific snapshot id.
57195719
DECLARE(Bool, allow_deprecated_error_prone_window_functions, false, R"(
57205720
Allow usage of deprecated error prone window functions (neighbor, runningAccumulate, runningDifferenceStartingWithFirstValue, runningDifference)
57215721
)", 0) \
5722-
DECLARE(Bool, use_iceberg_partition_pruning, false, R"(
5722+
DECLARE(Bool, use_iceberg_partition_pruning, true, R"(
57235723
Use Iceberg partition pruning for Iceberg tables
57245724
)", 0) \
57255725
DECLARE(Bool, allow_deprecated_snowflake_conversion_functions, false, R"(

src/Core/SettingsChangesHistory.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const VersionToSettingsChangesMap & getSettingsChangesHistory()
7070
{
7171
// Altinity Antalya modifications atop of 25.3
7272
{"lock_object_storage_task_distribution_ms", 0, 0, "New setting."},
73+
{"use_iceberg_partition_pruning", false, true, "Enable Iceberg partition pruning by default."},
7374
});
7475
addSettingsChanges(settings_changes_history, "25.2.1.20000",
7576
{
@@ -134,7 +135,7 @@ const VersionToSettingsChangesMap & getSettingsChangesHistory()
134135
{"distributed_cache_connect_max_tries", 20, 20, "Cloud only"},
135136
{"query_plan_use_new_logical_join_step", false, false, "New join step, internal change"},
136137
{"distributed_cache_min_bytes_for_seek", 0, 0, "New private setting."},
137-
{"use_iceberg_partition_pruning", false, false, "New setting"},
138+
{"use_iceberg_partition_pruning", false, false, "New setting for Iceberg partition pruning."},
138139
{"max_bytes_ratio_before_external_group_by", 0.0, 0.5, "Enable automatic spilling to disk by default."},
139140
{"max_bytes_ratio_before_external_sort", 0.0, 0.5, "Enable automatic spilling to disk by default."},
140141
{"min_external_sort_block_bytes", 0., 100_MiB, "New setting."},

0 commit comments

Comments
 (0)