Skip to content

Add checks for sharding_key during ALTER of Distributed table - #86015

Merged
evillique merged 1 commit into
ClickHouse:masterfrom
evillique:distributed-alter-add-check
Aug 24, 2025
Merged

evillique merged 1 commit into
ClickHouse:masterfrom
evillique:distributed-alter-add-check

Conversation

@evillique

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

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

Add checks for sharding_key during ALTER of the Distributed table. Previously incorrect ALTER would break the table definition and server restart.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@clickhouse-gh

clickhouse-gh Bot commented Aug 22, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [24b83cb]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_binary, old analyzer, s3 storage, DatabaseReplicated, parallel) failure
02443_detach_attach_partition FAIL
03595_alter_drop_column_comment_if_exists FAIL
Stateless tests (amd_debug, distributed plan, s3 storage, parallel) failure
02443_detach_attach_partition FAIL
Integration tests (amd_tsan, 2/6) failure
test_ttl_move/test.py::test_moves_after_merges_work[mt_test_moves_after_merges_do_not_work] FAIL

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Aug 22, 2025
@azat azat self-assigned this Aug 22, 2025
@evillique

Copy link
Copy Markdown
Member Author

@evillique
evillique added this pull request to the merge queue Aug 24, 2025
Merged via the queue into ClickHouse:master with commit 2173afd Aug 24, 2025
@evillique
evillique deleted the distributed-alter-add-check branch August 24, 2025 02:55
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default 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.

3 participants