Skip to content
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

Note undesired behavior from setting enabled: true in root project #88

Open
jtcohen6 opened this issue Jun 9, 2020 · 0 comments
Open
Milestone

Comments

@jtcohen6
Copy link
Contributor

jtcohen6 commented Jun 9, 2020

From dbt Slack:

A user had the following config in dbt_project.yml:

models:
 ...
 snowplow:
   enabled: true

Setting enabled: true in the root project overrides the dynamic, target-dependent enabled values set from within the snowplow package. Removing that line made this magically work again.

I don't think there's anything we could or should do to "lock" those enabled values within a package, since it's expected (and good) behavior that the user can override locally. What I will do is document that setting a top-level enabled config can have surprising results.

Reminder to self to add a note to the README :)

@jtcohen6 jtcohen6 added this to the 0.10 milestone Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant