Data Contracts with dbt
How do you use data contracts in a dbt project?
By Dr. Simon Harrer · · 2:24 video · 7 slides
In short
Keep one copy of the schema: the data contract. The Data Contract CLI imports the first contract from the dbt manifest. Then it writes the contract into the dbt project as properties and tests. In CI, a second sync and a diff stop drift.
Watch on YouTube