Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clickhouse] Add validation during mirror creation to check if destination tables exist and if they do, are valid to sync to #2019

Open
5 of 6 tasks
heavycrystal opened this issue Aug 29, 2024 · 0 comments
Assignees

Comments

@heavycrystal
Copy link
Contributor

heavycrystal commented Aug 29, 2024

Cases:

  • Check if table doesn't exist, if so proceed.
    Table exists:
  • Columns should match what is in Postgres incl. column exclusion.
  • Presence of metadata columns.
  • Types should match for columns.
  • Table should be empty.
  • Table should be ReplacingMergeTree
@heavycrystal heavycrystal self-assigned this Aug 29, 2024
heavycrystal added a commit that referenced this issue Sep 4, 2024
…2026)

Partially addresses #2019 

Tests column name equality taking exclusion into account, PeerDB
columns, engine and emptiness
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

No branches or pull requests

1 participant