Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update integration test for the at_least_one data test #934

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
field
a
field,value
a,1
b,
4 changes: 4 additions & 0 deletions integration_tests/models/generic_tests/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ seeds:
- name: field
data_tests:
- dbt_utils.at_least_one
- name: value
data_tests:
- dbt_utils.at_least_one:
group_by_columns: ['field']
error_if: "<1"
warn_if: "<0"

- name: data_test_expression_is_true
data_tests:
Expand Down