Repository navigation
Change format_alter_operations_with_parentheses default to true - #75302
Conversation
|
This is an automated comment for commit a310fa4 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
antaljanosbenjamin
left a comment
There was a problem hiding this comment.
The changes looks good, I think the PR is good to go.
I checked also the test tests/integration/test_unambiguous_alter_commands/test.py and it sets format_alter_operations_with_parentheses explicitly, but I think that is fine: somebody might want to run the integration tests on older versions. Maybe in the future, if we have to change that test for some reason, we can remove the now unnecessary config.
|
It seems this change is somehow changing affecting the filesystem cache reference values. I'm investigating |
|
The problem is that |
Cloud runs were failing with `UNKNOWN_ELEMENT_IN_CONFIG` for `format_alter_operations_with_parentheses`, a legacy server config setting whose default flipped to true in 25.2 (see #75302) and is no longer consulted in the public codebase. Long-lived cloud configs may still carry the key as leftover state, so add it to the obsolete-key allowlist to keep upgrading installations starting cleanly. Reported by @yurifedoseev on PR #100332.
Cloud runs were failing with `UNKNOWN_ELEMENT_IN_CONFIG` for `format_alter_operations_with_parentheses`, a legacy server config setting whose default flipped to true in 25.2 (see ClickHouse#75302) and is no longer consulted in the public codebase. Long-lived cloud configs may still carry the key as leftover state, so add it to the obsolete-key allowlist to keep upgrading installations starting cleanly. Reported by @yurifedoseev on PR ClickHouse#100332.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Change format_alter_operations_with_parentheses default to true to disambiguate alter commands list (see #59532). This breaks replication with clusters prior to 24.3. If you are upgrading a cluster using older releases turn off the setting in the server config or upgrade to 24.3 first.
This default is also set in clickhouse-format, which now has an option
--format_alter_operations_with_parenthesesto control this behaviour.Closes #74369
Documentation entry for user-facing changes
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: