Skip to content

Backport #107562 to 26.3: Fix missing variant_discr stream for Dynamic columns after mutation - #112098

Merged
Algunenano merged 1 commit into
26.3from
backport/26.3/107562
Jul 27, 2026
Merged

Algunenano merged 1 commit into
26.3from
backport/26.3/107562

Conversation

@robot-ch-test-poll2

@robot-ch-test-poll2 robot-ch-test-poll2 commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Merged into: 26.3.17.78

@robot-ch-test-poll2 robot-ch-test-poll2 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Jul 27, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [9d9d816]

Summary: ✅

@Algunenano
Algunenano merged commit d2e2ef7 into 26.3 Jul 27, 2026
34 checks passed
@Algunenano
Algunenano deleted the backport/26.3/107562 branch July 27, 2026 16:58
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants