Skip to content

Fix alter update of a column with a subcolumn used in other column materialized expression - #85985

Merged
Avogar merged 5 commits into
ClickHouse:masterfrom
Avogar:fix-alter-update-materialized-subcolumns
Sep 10, 2025
Merged

Avogar merged 5 commits into
ClickHouse:masterfrom
Avogar:fix-alter-update-materialized-subcolumns

Conversation

@Avogar

@Avogar Avogar commented Aug 21, 2025

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Critical Bug Fix (crash, data loss, RBAC) or LOGICAL_ERROR

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Fix alter update of a column with a subcolumn used in other column materialized expression. Previously materialized column with subcolumn in its expression was not updated properly.

Closes #85859

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@clickhouse-gh

clickhouse-gh Bot commented Aug 21, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [bc9b03d]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added pr-critical-bugfix pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-cloud labels Aug 21, 2025
@yakov-olkhovskiy yakov-olkhovskiy self-assigned this Aug 24, 2025
@Avogar
Avogar added this pull request to the merge queue Sep 10, 2025
Merged via the queue into ClickHouse:master with commit 102f519 Sep 10, 2025
@Avogar
Avogar deleted the fix-alter-update-materialized-subcolumns branch September 10, 2025 14:35
@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 10, 2025
robot-clickhouse added a commit that referenced this pull request Sep 10, 2025
…n used in other column materialized expression
robot-clickhouse added a commit that referenced this pull request Sep 10, 2025
…n used in other column materialized expression
robot-clickhouse added a commit that referenced this pull request Sep 10, 2025
…n used in other column materialized expression
robot-clickhouse added a commit that referenced this pull request Sep 10, 2025
…n used in other column materialized expression
@robot-ch-test-poll robot-ch-test-poll added pr-backports-created-cloud deprecated label, NOOP pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR labels Sep 10, 2025
@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Sep 10, 2025
clickhouse-gh Bot added a commit that referenced this pull request Sep 10, 2025
Backport #85985 to 25.8: Fix alter update of a column with a subcolumn used in other column materialized expression
clickhouse-gh Bot added a commit that referenced this pull request Sep 12, 2025
Backport #85985 to 25.7: Fix alter update of a column with a subcolumn used in other column materialized expression
Avogar added a commit that referenced this pull request Sep 22, 2025
Backport #85985 to 25.6: Fix alter update of a column with a subcolumn used in other column materialized expression
Avogar added a commit that referenced this pull request Sep 22, 2025
Backport #85985 to 25.3: Fix alter update of a column with a subcolumn used in other column materialized expression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-backports-created-cloud deprecated label, NOOP pr-critical-bugfix pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MATERIALIZED column with a subcolumn in its expresion doesn't get updated during ALTER UPDATE of the column which subcolumn is used

5 participants