-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conditional severity test severity: error
is not working
#4277
Comments
@antongoncharuk Thanks for the report! I believe this is the result of a typo, included in v0.21.0: dbt-core/core/dbt/parser/generic_test_builders.py Lines 360 to 361 in 79aa136
This bug was previously reported (#4051), and fixed (#4070) for a v0.21.1 patch release, which is currently available as a release candidate. Could you try installing that, and confirm that it fixes the issue?
We're hoping to have a final v0.21.1 release next week. In the meantime, I'm going to close this as a duplicate. |
Hey team, I’m trying to set a conditional severity test using the following guidance, to throw an error if there are more than 3 fails, to warn if there are more than 0 and pass otherwise. But it is not working, I’m still getting the following error -
Got 3 results, configured to fail if != 0
. Please see the screenshot attached. Running with dbt=0.21.0.Note: works when
severity: warn
The text was updated successfully, but these errors were encountered: