Skip to content

Fix: Check existence of both dev and prod tables in the snapshot evaluator#2051

Merged
izeigerman merged 1 commit intomainfrom
fix-check-both-tables-in-snapshot-evaluator
Jan 30, 2024
Merged

Fix: Check existence of both dev and prod tables in the snapshot evaluator#2051
izeigerman merged 1 commit intomainfrom
fix-check-both-tables-in-snapshot-evaluator

Conversation

@izeigerman
Copy link
Copy Markdown
Collaborator

I've realized that if, for whatever reason, the creation of a dev table succeeds while the subsequent creation of a prod table fails, SQLMesh will end up in an incorrect state. The only way to recover from this is by manually dropping the dev table.

@izeigerman izeigerman requested a review from a team January 30, 2024 17:31
@izeigerman izeigerman force-pushed the fix-check-both-tables-in-snapshot-evaluator branch from afc29a6 to 3ee8c1b Compare January 30, 2024 18:20
@izeigerman izeigerman merged commit 49564d9 into main Jan 30, 2024
@izeigerman izeigerman deleted the fix-check-both-tables-in-snapshot-evaluator branch January 30, 2024 19:31
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