Open gnilrets opened 3 days ago
Thanks for reaching out @gnilrets !
We just merged https://github.com/dbt-labs/dbt-core/pull/10889 a little over a week ago, and it will be included in dbt-core v1.9, and it looks to me like it would solve the issue you are reporting here.
Here are the other descriptions of the issue:
Could you give these a look and see if they describe the same thing that you experienced?
That's it. I missed those bugs because I was only searching for open bugs. Thanks!
Is this a new bug in dbt-core?
Current Behavior
I have a test that depends on a model that is versioned, but when I run the test, I get an error that the node cannot be found.
For example, in my unit test I have:
The
fct_outage
model is versioned, and I removed thev1
version a while ago, so I just have:The
fct_outage.yml
model is defined asWhen I run the unit test, I get:
However, if I remove versions from
fct_outage.yml
and renamefct_outage_v2.sql
tofct_outage.sql
, the unit test works.Expected Behavior
We should be able to run unit tests that depend on models that are versioned.
Steps To Reproduce
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
No response