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

[Bug] +store_failures config in the model file is not working #395

Open
2 tasks done
prdpsvs opened this issue Dec 22, 2024 · 0 comments
Open
2 tasks done

[Bug] +store_failures config in the model file is not working #395

prdpsvs opened this issue Dec 22, 2024 · 0 comments
Labels
bug Something isn't working dbt tests Issues related to built-in dbt testing functionality

Comments

@prdpsvs
Copy link

prdpsvs commented Dec 22, 2024

Is this a new bug?

  • I believe this is a new bug
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

The store_failures config is set(false) in a singular test and in the dbt_project.yml at a project lvl(true). This shouldn't work like this according to the config inheritance

Expected Behavior

store_failures should be false for the singular test but its true.

Steps To Reproduce

  1. dbt_project.yml - set +store_failures: true
    image
  2. In the model - set store_failures = False
    image
  3. In data_tests in schema.yml - set store_failures=False
    image
  4. Run dbt test --select tst_invalid
    I can see tables created to store failures for model tst_invalid.

Relevant log output

No response

Environment

- OS: Ubuntu 22.04 LTS
- Python: 3.11.9
- dbt-adapters: 1.10.0-a1
- fabric=1.8.8

Additional Context

dbt.log

@prdpsvs prdpsvs added bug Something isn't working triage labels Dec 22, 2024
@amychen1776 amychen1776 added dbt tests Issues related to built-in dbt testing functionality and removed triage labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dbt tests Issues related to built-in dbt testing functionality
Projects
None yet
Development

No branches or pull requests

2 participants