-
Notifications
You must be signed in to change notification settings - Fork 168
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
[CT-1322] [Feature] Enable setting execution_project in the dbt_project.yml #343
Comments
@matt-winkler thanks for proposing this feature! Can definitely see the value in fine-grained control over billing resources💰 TL;DRI'm not aware of a simple way we could implement the proposed feature. DetailsFrom what I can tell, the current For dbt-snowflake, the warehouse can also be specified at connection time using the But in contrast, it can be customized on a per model basis (using the use warehouse my_purple_tshirt To take the same approach in dbt-bigquery, we'd need an analagous query to execute. Do you know of anything like the following in BigQuery?
If not, I don't know a direct approach to implement this. |
Maybe something like this? SET @@dataset_project_id = 'MyProject'; |
This is a similar ask to the one made in databricks/dbt-databricks#59. We don't really* expose node-level information when creating / reusing connections. We'd need that in order to pull an *We sorta do this, in order to support query comments/headers containing node-specific info, but that code is pretty gnarly. @dbeatty10 As you mention, Snowflake lets us cheat around this via the |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days. |
Is this your first time submitting a feature request?
Describe the feature
Similar conceptually to how we enable end users to override virtual warehouses at the folder / model level for Snowflake, is it possible to enable setting the
execution_project
on bigquery in the dbt_project.yml?Seems related to #67
Describe alternatives you've considered
Multiple target profiles in dbt-core, multiple projects in dbt Cloud.
Who will this benefit?
Bigquery users who want more fine-grained control over billing resources associated with runs.
Are you interested in contributing this feature?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: