Skip to content

Fix logical error on creating table as s3Cluster() in Replicated database#85904

Merged
thevar1able merged 4 commits intomasterfrom
fix-calling-s3Cluster-from-ddl
Aug 20, 2025
Merged

Fix logical error on creating table as s3Cluster() in Replicated database#85904
thevar1able merged 4 commits intomasterfrom
fix-calling-s3Cluster-from-ddl

Conversation

@thevar1able
Copy link
Copy Markdown
Member

@thevar1able thevar1able commented Aug 19, 2025

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 logical error on attempt to CREATE ... AS (SELECT * FROM s3Cluster(...)) with DatabaseReplicated.

Closes #85861

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Aug 19, 2025

Workflow [PR], commit [37d89f0]

Summary:

job_name test_name status info comment
Finish Workflow failure
python3 ./ci/jobs/scripts/workflow_hooks/new_tests_check.py failure

@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 19, 2025
@thevar1able thevar1able changed the title Check for presence of cluster read task callback Fix logical error on creating table as s3Cluster() in Replicated database Aug 19, 2025
@pamarcos pamarcos self-requested a review August 20, 2025 10:08
@pamarcos pamarcos self-assigned this Aug 20, 2025
Copy link
Copy Markdown
Member

@pamarcos pamarcos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM, but I'm missing a test to verify this works as expected

@thevar1able
Copy link
Copy Markdown
Member Author

thevar1able commented Aug 20, 2025

I'm missing a test to verify this works as expected

This is a fix for a failing test on master, #85861, which was added in #85734.

@thevar1able thevar1able enabled auto-merge August 20, 2025 14:17
@robot-clickhouse robot-clickhouse added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Aug 20, 2025
thevar1able added a commit that referenced this pull request Aug 27, 2025
Cherry pick #85904 to 25.3: Fix logical error on creating table as `s3Cluster()` in Replicated database
thevar1able added a commit that referenced this pull request Aug 27, 2025
Cherry pick #85904 to 25.5: Fix logical error on creating table as `s3Cluster()` in Replicated database
thevar1able added a commit that referenced this pull request Aug 27, 2025
Cherry pick #85904 to 25.6: Fix logical error on creating table as `s3Cluster()` in Replicated database
thevar1able added a commit that referenced this pull request Aug 27, 2025
Cherry pick #85904 to 25.7: Fix logical error on creating table as `s3Cluster()` in Replicated database
robot-clickhouse added a commit that referenced this pull request Aug 27, 2025
robot-clickhouse added a commit that referenced this pull request Aug 27, 2025
robot-clickhouse added a commit that referenced this pull request Aug 27, 2025
robot-clickhouse added a commit that referenced this pull request Aug 27, 2025
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Aug 27, 2025
thevar1able added a commit that referenced this pull request Aug 27, 2025
Backport #85904 to 25.3: Fix logical error on creating table as `s3Cluster()` in Replicated database
thevar1able added a commit that referenced this pull request Aug 27, 2025
Backport #85904 to 25.5: Fix logical error on creating table as `s3Cluster()` in Replicated database
thevar1able added a commit that referenced this pull request Aug 27, 2025
Backport #85904 to 25.6: Fix logical error on creating table as `s3Cluster()` in Replicated database
thevar1able added a commit that referenced this pull request Aug 27, 2025
Backport #85904 to 25.7: Fix logical error on creating table as `s3Cluster()` in Replicated database
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.

Logical error: Next task callback is not set for query

6 participants