You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add test: No test for SummingMergeTree/AggregatingMergeTree FINAL + WH - #101268
Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.
Retrospective finding from a historical scan of PR #98242 (merged 2026-03-01). 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 #98242.
1. No test for SummingMergeTree/AggregatingMergeTree FINAL + WHERE on non-sorting partition key src/Processors/QueryPlan/ReadFromMergeTree.cpp:2197, tests/queries/0_stateless/03742_apply_row_policy_after_final.sql:176
Changelog category (leave one):
Not for changelog (changelog entry is not required)
This PR adds stateless coverage for FINAL with WHERE conditions on non-sorting partition keys in SummingMergeTree and AggregatingMergeTree. I reviewed the SQL/reference pair and did not find correctness, safety, performance, or compatibility issues in the added test logic. Existing clickhouse-gh[bot] inline feedback appears to have been addressed in the current patch, and I found no additional high-signal findings to post inline.
CI failure in Stress test (arm_msan), Stress test (arm_tsan), Integration tests (amd_llvm_coverage, 2/5) appears to be unrelated breakage and is not related to this change. Let me know if you'd like me to merge master and retrigger CI.
Understood — the Stress test (arm_msan) failure is a known issue addressed by #101239 and is unrelated to this PR's test. I'll update the branch to include that fix once #101239 is merged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found via ClickGap automated review. Please close or comment if this is incorrect or needs adjustment.
Retrospective finding from a historical scan of PR #98242 (merged 2026-03-01). 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 #98242.
1. No test for SummingMergeTree/AggregatingMergeTree FINAL + WHERE on non-sorting partition key
src/Processors/QueryPlan/ReadFromMergeTree.cpp:2197,tests/queries/0_stateless/03742_apply_row_policy_after_final.sql:176Changelog 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 #98242.
Version info
26.4.1.655