Last active
January 31, 2022 13:09
-
-
Save MaxKrog/9be10d55f82a03ac744b4960228f26d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: 2 | |
models: | |
- name: elt_example_model | |
description: Source table with cleaned input data from call log supplier X | |
columns: | |
- name: call_surr_key | |
decription: surrogate key for the row | |
tests: | |
- unique | |
- name: call_type | |
description: type of call (incoming/outgoing) | |
tests: | |
- accepted_values: | |
values: ['incoming', 'outgoing'] | |
- name: call_outcome | |
description: outcome of the call (answered/unanswered) | |
tests: | |
- accepted_values: | |
values: ['answered', 'unanswered'] | |
- name: call_duration | |
description: length of the call in seconds | |
tests: | |
- dbt_utils.expression_is_true: | |
expression: "> 0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment