Skip to content

Allow altering database comment#75622

Merged
tuanpach merged 27 commits intoClickHouse:masterfrom
NamHoaiNguyen:alter_database_comment_issue_73351
Mar 24, 2025
Merged

Allow altering database comment#75622
tuanpach merged 27 commits intoClickHouse:masterfrom
NamHoaiNguyen:alter_database_comment_issue_73351

Conversation

@NamHoaiNguyen
Copy link
Contributor

@NamHoaiNguyen NamHoaiNguyen commented Feb 5, 2025

Changelog category (leave one):

  • New Feature

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

Allow altering a database comment. Closes #73351

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

CI Settings (Only check the boxes if you know what you are doing)

All builds in Builds_1 and Builds_2 stages are always mandatory and will run independently of the checks below:

  • Only: Stateless tests
  • Only: Integration tests
  • Only: Performance tests

  • Skip: Style check
  • Skip: Fast test

  • Run all checks ignoring all possible failures (Resource-intensive. All test jobs execute in parallel).
  • Disable CI cache

@bharatnc bharatnc added the can be tested Allows running workflows for external contributors label Feb 6, 2025
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-feature Pull request with new product feature label Feb 6, 2025
@robot-ch-test-poll
Copy link
Contributor

robot-ch-test-poll commented Feb 6, 2025

This is an automated comment for commit 643ebe0 with description of existing statuses. It's updated for the latest CI running

❌ Click here to open a full report in a separate page

Check nameDescriptionStatus
Fast testNormally this is the first check that is ran for a PR. It builds ClickHouse and runs most of stateless functional tests, omitting some. If it fails, further checks are not started until it is fixed. Look at the report to see which tests fail, then reproduce the failure locally as described here❌ failure
Successful checks
Check nameDescriptionStatus
Docs checkBuilds and tests the documentation✅ success
Style checkRuns a set of checks to keep the code style clean. If some of tests failed, see the related log from the report✅ success

@NamHoaiNguyen NamHoaiNguyen force-pushed the alter_database_comment_issue_73351 branch from 643ebe0 to 9c5dbe1 Compare February 7, 2025 14:14
@clickhouse-gh
Copy link
Contributor

clickhouse-gh bot commented Feb 7, 2025

Workflow [PR], commit [d2e0448]

@NamHoaiNguyen NamHoaiNguyen force-pushed the alter_database_comment_issue_73351 branch from 141a601 to ac19d49 Compare February 7, 2025 14:23
@NamHoaiNguyen NamHoaiNguyen force-pushed the alter_database_comment_issue_73351 branch from dc2bbfe to 3d590c7 Compare February 15, 2025 04:16
@NamHoaiNguyen NamHoaiNguyen changed the title Allow ALTERing a database comment Allow altering database comment Feb 25, 2025
@NamHoaiNguyen NamHoaiNguyen force-pushed the alter_database_comment_issue_73351 branch from b0afa0d to 1dee9ef Compare February 26, 2025 15:53
@CLAassistant
Copy link

CLAassistant commented Feb 27, 2025

CLA assistant check
All committers have signed the CLA.

@NamHoaiNguyen NamHoaiNguyen force-pushed the alter_database_comment_issue_73351 branch from 206e5a0 to a2eb5e0 Compare February 27, 2025 12:33
@NamHoaiNguyen NamHoaiNguyen requested a review from tuanpach March 3, 2025 16:53
@NamHoaiNguyen NamHoaiNguyen requested a review from tuanpach March 6, 2025 15:47
@NamHoaiNguyen NamHoaiNguyen force-pushed the alter_database_comment_issue_73351 branch from 9d232bc to d2e0448 Compare March 23, 2025 16:20
@tuanpach
Copy link
Member

@tuanpach tuanpach added this pull request to the merge queue Mar 24, 2025
Merged via the queue into ClickHouse:master with commit 93d6ac2 Mar 24, 2025
118 of 125 checks passed
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Mar 24, 2025
@PedroTadim
Copy link
Member

PedroTadim commented Apr 15, 2025

Hello! I get this error:

Syntax error: failed at position 19 (ON):

ALTER DATABASE d5 ON CLUSTER 'cx' MODIFY COMMENT 'a';

Expected one of: a list of ALTER commands, ALTER command, MODIFY SETTING, MODIFY COMMENT

Should the ON CLUSTER clause be supported for this statement?

@tuanpach
Copy link
Member

Hello! I get this error:

Syntax error: failed at position 19 (ON):

ALTER DATABASE d5 ON CLUSTER 'cx' MODIFY COMMENT 'a';

Expected one of: a list of ALTER commands, ALTER command, MODIFY SETTING, MODIFY COMMENT

Should the ON CLUSTER clause be supported for this statement?

I will fix it in another PR

zvonand pushed a commit to Altinity/ClickHouse that referenced this pull request Oct 13, 2025
…_comment_issue_73351

Allow altering database comment
zvonand pushed a commit to Altinity/ClickHouse that referenced this pull request Oct 30, 2025
…_comment_issue_73351

Allow altering database comment
zvonand pushed a commit to Altinity/ClickHouse that referenced this pull request Oct 31, 2025
…_comment_issue_73351

Allow altering database comment
zvonand added a commit to Altinity/ClickHouse that referenced this pull request Nov 1, 2025
25.3.8 Backport of ClickHouse#75622: Allow altering database comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-feature Pull request with new product feature 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.

Allow ALTERing a database comment