Commit 462c797
committed
fix: add db2 to FORBIDDEN_STATE_SYNC_ENGINES
Db2 rejects table names starting with underscore, which SQLMesh uses
for all state tables (_versions, _snapshots, _environments, _intervals).
Without this entry is_forbidden_for_state_sync() returns False for Db2,
allowing SQLMesh to silently attempt — and fail — to create state tables
instead of raising a clear ConfigError upfront.
The comment explaining the reason has been moved inside the set alongside
the entry it describes, consistent with the pattern used for the other
engines in the set.
Signed-off-by: IBM Db2 Eco System <Hdm-dev-persona-db2-eco-system@ibm.com>1 parent efa09d4 commit 462c797
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 56 | | |
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments