-
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
Bigquery: Enable User to Choose Job Priority in Profile #1456
Comments
Hey @davidjinlee - cool idea! Every query that dbt executes on BQ should go through the raw_execute() method. I think this will be the place to add this config. The BQ docs seem to indicate that job priority can be configured with:
We should be able to add a my-profile:
target: dev
outputs:
dev:
type: bigquery
method: oauth
project: '....'
priority: batch # one of batch|interactive, if provided Then from the
How does all of that sound? |
Hey @drewbanin just a couple questions! If we define |
You're absolutely right @davidjinlee! This line of code will get the
Next, we'll need to do a check to see if If it's
and if it's batch, we'll want to do:
|
closed by #1673 |
Feature
Feature description
This would allow users to define the
job priority
(batch vs interactive) in their Bigquery profile. When a model is run using the profile with the job priority defined as "batch", DBT would block until the query is actually executed. This would allow forThe benefits of having ability to define the job priority:
The text was updated successfully, but these errors were encountered: