Skip to content

Diff dictionaries as their own object kind#11

Merged
anytoe merged 1 commit into
mainfrom
feature/changelog-dict
May 14, 2026
Merged

Diff dictionaries as their own object kind#11
anytoe merged 1 commit into
mainfrom
feature/changelog-dict

Conversation

@anytoe
Copy link
Copy Markdown
Owner

@anytoe anytoe commented May 13, 2026

Summary

  • Dictionaries were loaded from system.tables as plain tables, so the changelog generated CREATE TABLE ... ENGINE = Dictionary — not a valid way to create a dictionary. Snapshot was already correct (uses create_table_query verbatim).
  • Load dictionaries separately, keep the CREATE DICTIONARY query verbatim, emit CREATE / DROP DICTIONARY and drop+recreate on body change. Dictionary ops run after table ops so CLICKHOUSE-source dicts can reference their tables.

@anytoe anytoe merged commit da382bd 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.

2 participants