Skip to content

diff table SETTINGS via ALTER MODIFY/RESET SETTING#12

Merged
anytoe merged 1 commit into
mainfrom
feature/settings
May 14, 2026
Merged

diff table SETTINGS via ALTER MODIFY/RESET SETTING#12
anytoe merged 1 commit into
mainfrom
feature/settings

Conversation

@anytoe
Copy link
Copy Markdown
Owner

@anytoe anytoe commented May 14, 2026

Loader parses SETTINGS out of system.tables.engine_full into Table.Settings. Generator emits one ALTER MODIFY SETTING for added/changed keys and one ALTER TABLE ... RESET SETTING for keys present only on source. Immutable settings will be rejected by ClickHouse at apply time, which is preferable to drop+recreate destroying data for a settings tweak.

Loader parses SETTINGS out of system.tables.engine_full into
Table.Settings. Generator emits one ALTER MODIFY SETTING for
added/changed keys and one ALTER TABLE ... RESET SETTING for keys
present only on source. Immutable settings will be rejected by
ClickHouse at apply time, which is preferable to drop+recreate
destroying data for a settings tweak.
@anytoe anytoe merged commit 01bf8c5 into main May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant