[CT-3030] [Bug] Ambiguous reference error for versions when model name is duplicated across packages #8493
Closed
2 tasks done
Labels
backport 1.6.latest
bug
Something isn't working
model_versions
packages
Functionality for interacting with installed packages
Is this a new bug in dbt-core?
Current Behavior
Very similar to #8327
When:
dbt raises an ambiguous reference error
Expected Behavior
dbt should successfully parse my project, and resolve version definitions to reference the model in the same project/package where they are defined
Steps To Reproduce
Create a project named
my_dbt_project
, and another local project under a subdirectory namedmypkg/
.Within the root project:
Within the package
mypkg
, add the exact same model with the exact same config:From the root project:
Remove the
unique
tests, then parse again (this time successfully):Environment
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: