Repository navigation
Backport #131789 to 26.8: Check the aggregates of deserialized query plan steps against their input - #133174
Merged
Conversation
…plan steps against their input
Contributor
|
Workflow [BackportPR], commit [05e6efe] Summary: ✅ |
`AggregateDescription.h` declared functions taking `const Block &` without including `Core/Block_fwd.h`, and `AggregateDescription.cpp` used `Block` without including `Core/Block.h`; master gets them transitively. `AggregatingStep::deserialize` referenced `only_merge`, which is not part of the serialized `Aggregating` step in 26.8: the step is always deserialized with `only_merge = false`, so only the check of the arguments applies. CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=133174&sha=e90d0b4293bdc1a2975539b767a2879e96e95f0e&name_0=BackportPR PR: #133174 Co-Authored-By: Claude Opus 5.5 <[email protected]>
26.8 supports query plan serialization version 10 (not 21), reads the settings of a step with `readBinary` (a count, then name, flags and a binary value), and has no merge-only flag in the serialized `Aggregating` step, so the merge-only cases are removed. All remaining refusals were checked against the server log to be the intended ones. PR: #133174 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Original pull-request #131789
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job
Version info
26.8.42.21