-
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
Add severity granularity options for tests #1005
Comments
@rsmichaeldunn thanks for the feature request! I think this is a good idea. I've also been thinking about setting a I think that |
+1 to this feature request. Having @drewbanin If level is set to |
There might not be a relevant distinction between I can see the usefulness of a threshold beyond which a |
+1 for this idea. I think it would also be valuable if tests were |
ok, let's prioritize this one for 0.13.0 if possible. Spec:
By default, the The one caveat with this approach is that If this poses a problem (either technically, or just in kudginess), we can pick a dbt-specific name that shouldn't collide with user test args, like or cc @cmcarthur @rsmichaeldunn @dwallace0723 @JasonGluck |
An alternative that I've proposed and will work on, to sidestep the arg confusion issue:
You can imagine adding a |
Feature
Feature description
I would like to be able to assign a severity level to a given test. For semantic clarity, I suggest these align with typical Python log levels of
INFO
,WARN
, andERROR
. I would like to be able to configure schema.yml to set a particular test as one of those levels, to distinguish tests that should be regarded as game-breaking if they fail from tests that are relevant, but not critical.Who will this benefit?
This would be particularly helpful for people using Sinter. Today, any test failure in Sinter causes the job running
dbt test
to report an Error state. There are many "anomalies" thatdbt test
can detect that I want to know about, but don't rise to the level of wanting to consider them "errors".The text was updated successfully, but these errors were encountered: