-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partial parsing: duplicate resource error #2055
Labels
Milestone
Comments
beckjake
added a commit
that referenced
this issue
Jan 19, 2020
…disabled-models Fix partial parsing with disabled models (#2055)
fixed in #2056 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When the
--partial-parse
flag is enable, dbt can fail with an errant compilation error:dbt is reporting the same model twice. Interestingly, there actually are two instances of models named
adwords_ad_performance_adapter
in the adwords package:These models are conditionally enabled using a variable,
adapter_value
, defined in thedbt_project.yml
file.It's not yet clear to me if dbt is failing because it's finding both of these models and reporting an errant error message, or if dbt really is picking up the same model twice somehow.
Steps To Reproduce
Add the following to
packages.yml
:Add the following to
dbt_project.yml
:Create a model called
adwords_criteria_performance.sql
with the contents:Expected behavior
dbt should compile and run this project successfully.
The output of
dbt --version
:The text was updated successfully, but these errors were encountered: