Repository navigation
Add test: No test for _part_starting_offset + _part_offset IN subquery (query-then-fetch) or range conditions - #101750
clickgapai wants to merge 1 commit into
Conversation
|
Dear @CurtizJ, you haven't been active on this PR for 30 days. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself. |
|
Dear @CurtizJ, you haven't been active on this PR for 30 days. You will be unassigned. Will you continue working on it? If so, please feel free to reassign yourself. |
|
@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) |
|
Re-filed as #114305, the MergeTree/index group, covering this gap together with three others from the same batch. Adopted as Two changes from the original. The |
Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.
Retrospective finding from a historical scan of PR #79417 (merged 2025-04-29). Confirmed on current codebase — close with a note if already fixed.
Adds test coverage for 1 untested code path(s), found during automated review of PR #79417.
1. No test for _part_starting_offset + _part_offset IN subquery (query-then-fetch) or range conditions
src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:502Why this test: buildKeyConditionFromTotalOffset (MergeTreeDataSelectExecutor.cpp:502) constructs key conditions that support IN and range operations, but the PR's test only exercises equality (= 8)
What's unique: PR's test 03443_part_starting_offset.sql only tests equality condition (_part_starting_offset + _part_offset = 8). This test covers IN subquery pattern (the primary use case from PR description), rang
Changelog 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 #79417.