-
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
[Bug] Custom test name causes dbt test
to fail when persisting failures with --store-failures
#9752
Comments
dbt test
to fail when persisting failures with --store-failures
Sorry you bumped up against this @mkielar -- thank you for opening this issue. Short storyI believe the relevant section of code is here. This isn't likely to be a high priority for us to address in the near-term, but you can work around it in the meantime by doing either of these in your YAML:
|
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers. |
Is this a new bug in dbt-core?
Current Behavior
This relates to #9740. I have added names to my tests so that I could generate a human-readable report for my end-users. The tests are named like this:
However, when I run
dbt test --store-failures
, the command wails with:Expected Behavior
I'd expect dbt to either use the "original" name of the test, or internally produce a name that is acceptable by my SQL Engine (in my case BigQuery) and actually store the results.
Steps To Reproduce
dbt test --store-failures
Relevant log output
Environment
Which database adapter are you using with dbt?
bigquery
Additional Context
No response
The text was updated successfully, but these errors were encountered: