Repository navigation
Add test: No test for bloom filter text index on mapKeys with non-map comparison functions - #101724
clickgapai wants to merge 1 commit into
Conversation
|
@groeneai can you take this up and open a new PR? |
|
Taking this up. Triaged against master Verified: It will be re-filed as part of an area-grouped PR rather than its own PR, to keep reviewer load down (26 in this batch plus 18 from the earlier one today). Full triage and the grouping plan: #101781 (comment) |
|
Not re-filing this one, and here is the reason rather than silence. The oracle does not observe the guard it names. Both coverage rows expect Covering the This area also overlaps my own open #107076, so a fix here should be shaped against that rather than added alongside it. The other six gaps from this batch's MergeTree/index group are resolved in #114305. |
Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.
Adds test coverage for 1 untested code path(s), found during automated review of PR #77305.
1. No test for bloom filter text index on mapKeys with non-map comparison functions
src/Storages/MergeTree/MergeTreeIndexBloomFilterText.cpp:592Why this test: MergeTreeIndexBloomFilterText.cpp:571-592 — when traverseTreeEquals is called with map_key_index set and function_name is not a map function, the early return false at line 592 is never exercised by a
What's unique: The PR has NO test files in its diff. This test covers the specific code path (line 592) that was added by the fix — the early return false when map_key_index is set but the function is not a map-spec
Tags:
-- Tags: no-fasttest—no-fasttest: uses ngrambf_v1 text index which is not available in fast test build, matching 02000_map_full_text_bloom_filter_index.sqlChangelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Not applicable — test-only change.
Documentation entry for user-facing changes
Found during review of PR #77305.