Repository navigation
Rename setting enable_join_runtime_filter_shared_fixed_hash_table to join_runtime_filter_from_fixed_hash_table - #107668
Conversation
…o `join_runtime_filter_from_fixed_hash_table` Makes the name more consistent with the existing settings for runtime filters Follow-up to #105640
|
Workflow [PR], commit [3cb0982] Summary: ❌
AI ReviewSummaryThis PR renames the fixed-hash-table runtime-filter setting to Findings
Final VerdictStatus: Minimum required action: add the |
| DECLARE(Bool, use_hash_table_stats_for_join_reordering, false, "Enable using collected hash table statistics for cardinality estimation during join reordering", 0) \ | ||
| DECLARE(Bool, enable_join_fixed_hash_table_conversion, true, R"(Enable converting the hash table to a flat array for joins when the key is a single integer with a small value range)", 0) \ | ||
| DECLARE(Bool, enable_join_runtime_filter_shared_fixed_hash_table, true, R"(Use the hash join's FixedHashMap as the runtime filter for the probe side, replacing the Set/BloomFilter built upstream by the runtime filter framework)", 0) \ | ||
| DECLARE(Bool, join_runtime_filter_from_fixed_hash_table, true, R"(When the hash join build side was converted to a FixedHashMap (see `enable_join_fixed_hash_table_conversion`), use that hash map directly as the runtime filter.)", 0) \ |
There was a problem hiding this comment.
QueryPlanSerializationSettings::writeChangedBinary writes changed settings by name, and BaseSettings::readBinary throws UNKNOWN_SETTING when the name is not known or aliased. After this rename, a plan serialized by a node that still writes enable_join_runtime_filter_shared_fixed_hash_table = 0 cannot be read by this code. Please use the alias form in PLAN_SERIALIZATION_SETTINGS too, mapping enable_join_runtime_filter_shared_fixed_hash_table to join_runtime_filter_from_fixed_hash_table.
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered by tests: 66/66 (100.00%) | Lost baseline coverage (was covered on master, now uncovered in this PR): 4 line(s) · Uncovered code |
Resolve conflicts from upstream master rename and feature work: - `enable_join_runtime_filter_shared_fixed_hash_table` was renamed to `join_runtime_filter_from_fixed_hash_table` in master (PR ClickHouse#107668). All references on this branch are updated to the new name; the obsolete `SettingsChangesHistory.cpp` entry for the old name is dropped. - `Settings.cpp` and `QueryPlanSerializationSettings.cpp` keep both the master additions (`query_plan_max_limit_for_join_lazy_indexing`, `query_plan_min_columns_for_join_lazy_indexing`) and this branch's demote settings. - `makeDistributed.cpp` keeps master's `validateBucketCount` / `MAX_DISTRIBUTED_PLAN_BUCKET_COUNT` and drops the duplicate default argument from the local `estimateReadRowsCount` declaration; the canonical declaration with the default now lives in `Optimizations.h`. - `optimizeJoin.cpp` keeps the demote-side comment block explaining the generic row-preserving pass-through. Also rename the demote settings for clarity that they only apply to the hash join algorithm: - `query_plan_join_subset_keys_auto` -> `query_plan_hash_join_subset_keys_auto` - `query_plan_join_subset_keys_min_rows` -> `query_plan_hash_join_subset_keys_min_rows` - `query_plan_join_subset_keys_min_kept_selectivity` -> `query_plan_hash_join_subset_keys_min_kept_selectivity` Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Makes the name more consistent with the existing settings for runtime filters
Follow-up to #105640
Changelog category (leave one):
Version info
26.6.1.938