Use the --empty
flag for unit testing incremental models that don't yet exist
#6050
Open
1 task done
Labels
content
Improvements or additions to content
improvement
Use this when an area of the docs needs improvement as it's currently unclear
Contributions
Link to the page on docs.getdbt.com requiring updates
https://docs.getdbt.com/docs/build/unit-tests#unit-testing-incremental-models
What part(s) of the page would you like to see updated?
Add the caveat that incremental models need to exist in the database first before running unit tests or doing a
dbt build
. So our recommendation is to do something like this to make sure all the incremental tables exist first:Additional information
See dbt-labs/dbt-core#10695
See also:
The text was updated successfully, but these errors were encountered: