-
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
Warns are not summarized at the end of dbt test #1597
Comments
Thanks @MartinGuindon - really good idea! Would love to add this for the 0.14.0 bugfix/patch release |
Digging into this a bit, here is what I'm finding:
From looking at the run task, it should trickle through if that is the update. I will have to dig deeper into how the results are parsed for errors to see how/if warns needs to be different Am I thinking about this the right way? |
This is the key method: https://github.com/fishtown-analytics/dbt/blob/399b33822a85493a8790df787eed59e951aecf6c/core/dbt/ui/printer.py#L266 I think what I would do is:
|
Got it! Thanks for that additional color @beckjake. Could you assign this to me to indicate it's being worked on? I'd like to take a stab at it. |
Hey @emilieschario - is this in progress? We're hoping to cut an RC of 0.14.1 early next week, then publish the final 0.14.1 release later in the week. Let me know if there's anything we can help out with! |
Sorry @drewbanin I won't have the bandwidth to get to this quickly. No worries if you'd rather reassign this! In the future, I'll make sure I have time carved out before asking for it to be assigned! |
No problem at all @emilieschario! Thanks for the update :) |
(#1597) summarize warnings at end of test invocations
Closed by #1654 |
automatic commit by git-black, original commits: 800355e
Issue
When using the new warn severity for tests, any warn results are not summarized at the end of the dbt test output, hence they could be easy to miss in larger projects.
Results
The current ouput looks like everything is fine and dandy, even if there are warnings:
I would instead expect an output similars to errors, summarizing how many warnings there are and which test(s) are returning warnings:
The text was updated successfully, but these errors were encountered: