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

Lopp adjust test severity #57

Merged
merged 7 commits into from
Jan 3, 2024
Merged
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
1 change: 0 additions & 1 deletion dbt_project/models/CLEANED/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ models:
description: "Platform id of the user that placed this order."
data_type: "int"
tests:
- unique
- not_null
- name: quantity
description: "The quantity of items purchased in this order."
Expand Down
2 changes: 2 additions & 0 deletions dbt_project/tests/generic/test_greater_than_zero.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% test greater_than_zero(model, column_name) %}

{{ config(severity = 'warn') }}

select *
from {{ model }}
where {{ column_name }} <= 0
Expand Down
Loading