Repository navigation
Stabilize 04201_trivial_count_with_additional_filter on 25.8 - #108904
Merged
alexey-milovidov merged 1 commit intoJun 30, 2026
Merged
alexey-milovidov merged 1 commit into
alexey-milovidov merged 1 commit into
Conversation
The test captures EXPLAIN PIPELINE output with its indentation. On 25.8 the test pinned no settings, so under the fuzzer's randomized max_threads the (ReadFromMergeTree) block loses one Resize nesting level (8 -> 6 spaces) and the reference no longer matches. Pin max_threads = 1, optimize_use_implicit_projections = 0 and optimize_use_projections = 0 so the pipeline shape is deterministic, and regenerate the reference against a 25.8 binary. The 25.8 pipeline shape differs from master (no Filter/FilterTransform wrapper) because a17b94e is not in 25.8, so the master reference is not cherry-pickable here. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Collaborator
Author
Pre-PR validation gate (click to expand)
Built against a 25.8 binary (25.8.25.1) because the master reference is not cherry-pickable: master's pipeline has a Session id: cron:clickhouse-worker-slot-1:20260630-064200 |
Collaborator
Author
|
cc @alexey-milovidov - the separate 25.8 stabilization you asked for on #108763. Test-only: pins |
Contributor
|
Workflow [BackportPR], commit [d080256] |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
...
Description
Stabilizes
04201_trivial_count_with_additional_filteron the 25.8 release branch (separate PR requested by alexey-milovidov on #108763, where this was the only red and is unrelated to that SSL-auth backport).The test captures
EXPLAIN PIPELINEoutput with its indentation. The 25.8 copy pinned no settings, so under the fuzzer's randomizedmax_threadsthe(ReadFromMergeTree)block loses oneResizenesting level (8 -> 6 spaces) and the committed reference no longer matches. Confirmed via the test runner on a 25.8 binary: the old test fails whenmax_threads=1is injected, passes when it is >= 2.Fix: pin
max_threads = 1,optimize_use_implicit_projections = 0,optimize_use_projections = 0(same settings master pins via #104296) so the pipeline shape is deterministic, and regenerate the reference against a 25.8 binary. Query-levelSET max_threads = 1overrides any value the runner injects, so the output is identical across injectedmax_threads1/2/4/8/16.The master reference is not cherry-pickable to 25.8: master's pipeline shows a
(Filter)/FilterTransformwrapper froma17b94ec153("Skip the recursive Planner after trivial-count optimization"), which is not in 25.8. The 25.8 reference therefore differs (no Filter wrapper).Test-only change. Validated on 25.8.25.1: fails 3/3 without the fix under injected
--max_threads 1; passes 5/5 with it, 40/40 with random settings on.