Is this a new bug in dbt-core?
I believe this is a new bug in dbt-core
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 https://docs.getdbt.com/reference/configs-and-properties
Expected Behavior
store_failures should be false for the singular test but its true.
Steps To Reproduce
Setup a dbt-fabric project
Specify the store_failures config in data_tests(dbt_project.yml) and for the singular test.
Set connection with the fabric data warehouse
{{ config(store_failures = false) }}
with invalid as (
select
*
from stg_customers
where id is null
)
select * from invalid
Set connection in your profiles.yml file. (something like this)
jaffle_shop:
target: dev
outputs:
dev:
authentication: CLI
database: jaffle-shop-warehouse
driver: ODBC Driver 18 for SQL Server
host: <sql end point to the fabric warehouse>
schema: <schema name>
threads: 4
type: fabric
Run dbt test --select tst_invalid_id
It will create an output table in the fabric warehouse.
Is this a new bug in dbt-core? I believe this is a new bug in dbt-core 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 https://docs.getdbt.com/reference/configs-and-properties
Expected Behavior store_failures should be false for the singular test but its true.
Steps To Reproduce Setup a dbt-fabric project Specify the store_failures config in data_tests(dbt_project.yml) and for the singular test. Set connection with the fabric data warehouse
dbt_project.yml
stg_customers.sql
raw_customers.csv
tst_invalid_id.sql
Set connection in your profiles.yml file. (something like this)
Run
dbt test --select tst_invalid_id
It will create an output table in the fabric warehouse.
Environment