feat: add unique combination of columns test
This commit is contained in:
@@ -101,6 +101,13 @@ sources:
|
|||||||
freshness:
|
freshness:
|
||||||
warn_after: { count: 25, period: hour }
|
warn_after: { count: 25, period: hour }
|
||||||
error_after: { count: 49, period: hour }
|
error_after: { count: 49, period: hour }
|
||||||
|
data_tests:
|
||||||
|
- dbt_utils.unique_combination_of_columns:
|
||||||
|
combination_of_columns:
|
||||||
|
- global_id
|
||||||
|
- date
|
||||||
|
- source
|
||||||
|
- status
|
||||||
columns:
|
columns:
|
||||||
- name: global_id
|
- name: global_id
|
||||||
description: Funda internal listing ID.
|
description: Funda internal listing ID.
|
||||||
|
|||||||
@@ -9,6 +9,13 @@ models:
|
|||||||
meta:
|
meta:
|
||||||
dagster:
|
dagster:
|
||||||
group: funda
|
group: funda
|
||||||
|
data_tests:
|
||||||
|
- dbt_utils.unique_combination_of_columns:
|
||||||
|
combination_of_columns:
|
||||||
|
- global_id
|
||||||
|
- price_date
|
||||||
|
- price_source
|
||||||
|
- price_status
|
||||||
columns:
|
columns:
|
||||||
- name: global_id
|
- name: global_id
|
||||||
description: Funda internal listing ID.
|
description: Funda internal listing ID.
|
||||||
|
|||||||
Reference in New Issue
Block a user