Repository navigation
Backport #107562 to 26.3: Fix missing variant_discr stream for Dynamic columns after mutation - #112098
Merged
Conversation
…c columns after mutation
robot-clickhouse
force-pushed
the
backport/26.3/107562
branch
from
July 27, 2026 13:44
f4f7ec6 to
9d9d816
Compare
Contributor
|
Workflow [BackportPR], commit [9d9d816] Summary: ✅ |
bytehalo-infra
added a commit
to sentioxyz/ClickHouse
that referenced
this pull request
Sep 25, 2026
Dependency of the ClickHouse#109496 backport (d56fb49): its MutateTask.cpp change calls ColumnsSubstreams::tryGetColumnSubstreams, which this change adds, so d56fb49 does not compile without it (found by a syntax check of every file the backports change). The 26.3 branch merged this backport on 2026-07-27, before the ClickHouse#109496 backport (2026-08-13). Fix: a part produced by a mutation of a table with a Dynamic column could miss the variant_discr stream (LOGICAL_ERROR on read); upstream patch unchanged, with its tests 04341, 04342, 04401 and 04412 (the local triage did not reproduce the first two on the production build; the other two need a server). 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 #107562
Cherry-pick pull-request #112064
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.3.17.78