-
Notifications
You must be signed in to change notification settings - Fork 0
/
_seeds.yml
31 lines (29 loc) · 944 Bytes
/
_seeds.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: 2
# Typically, we'd expect most tests to be defined on models rather than seeds.
# I opted for seeds here because it was the most simple for demo purposes.
# The config below would work just as well if these were all `models` instead of `seeds`.
seeds:
- name: all_unique
columns:
- name: id
tests:
# built-in test
- unique
# custom generic test
- my_unique
- name: color
tests:
# built-in test
- unique
# custom generic test
- my_unique
- name: unique_combos
tests:
# existing test from a dbt package
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- alternating
- sub_ordering
# existing test from a different dbt package
- dbt_expectations.expect_compound_columns_to_be_unique:
column_list: ["alternating", "sub_ordering"]