Commit 5b7bae6
committed
fix: warn on contract.enforced=true for materialized_view (#1279)
Upstream dbt does not support contracts on materialized views
(https://docs.getdbt.com/docs/mesh/govern/model-contracts). dbt-databricks
was silently accepting the flag, hiding yml/SQL drift. Now emits a warning
pointing at the dbt docs. Strictly additive; existing build outcomes and
constraint behavior are unchanged.
Co-authored-by: Isaac1 parent 59c69f6 commit 5b7bae6
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
0 commit comments