dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
9.25k
stars
1.53k
forks
source link
[Bug] DBT unit_tests don't work with empty JSON as expected result #10342
Open
yengibar-manasyan-sp opened 1 week ago
Is this a new bug in dbt-core?
Current Behavior
Currently, with DBT 1.8 when I want to expect no result, I can do the following:
But with JSON it does not work. E.g.:
Expected Behavior
Support empty JSON as expected result meaning that no new records should be inserted into the model:
Steps To Reproduce
this
(current table) has some dataRelevant log output
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
No response