-
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
Pass config values to sources in dbt_project.yml #2542
Comments
Really good points @azhard, and I totally agree. Check out #2401. There are two kinds of dbt config today:
Right now, source-specific configs such as sources:
my_dir:
+enabled: true|false We have a plan to reconcile node configs and resource configs—it's going to be a lot of hard work, and very much on the roadmap. |
Thanks @jtcohen6, has there been any thoughts on when this feature is slated to be implemented? |
Reviving this issue, I still have the same problem as the OP. Meaning, this doesn't work:
Was this issue correctly closed then? |
Second time's the charm? Per #9990 (comment), see #7157 for an issue that looks like it will resolve this. |
Describe the feature
In the
dbt_project.yml
file you can pass specific config values to models based on the folder structure. This is extremely useful so that you are not forced to pass in the same value in individual file configs. This pattern however doesn't work for sources. A project.yml sectoin that I would expect to work is as follows:Additional context
This should work across all databases
Who will this benefit?
Presumably any dbt users who have sources in separate files but those sources share config elements.
The text was updated successfully, but these errors were encountered: