dbt - Governance and Collaboration
Given this dbt model contract snippet in
schema.yml:
models:
- name: sales
contract:
columns:
- name: order_id
tests:
- not_null
- unique
- name: amount
tests:
- not_null
What happens if the order_id column contains duplicate values when the model runs?