Add dataset location config to BigQuery profile #969
Labels
bigquery
enhancement
New feature or request
good_first_issue
Straightforward + self-contained changes, good for new contributors!
Milestone
Feature
Feature description
BigQuery doesn't allow data to be transferred between locations (eg.
EU
toUS
). To remedy this, dbt should allow alocation
config in BigQuery profiles. That value should be supplied when creating datasets here.This can be implemented by setting the
location
argument ingoogle.cloud.bigquery.client.Client()
as described here. If I understand this correctly, all subsequent API actions will be location-aware. We will know this works whentable
s fetched from the BQ API have alocation
attribute that is notNone
.The
location
field should be a parameter in a BigQuery profile.Who will this benefit?
BQ users with their data in non-US regions.
The text was updated successfully, but these errors were encountered: