Default location should be configurable at BigQueryOptions #3609
Labels
api: bigquery
Issues related to the BigQuery API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
"When sending requests, the location must be specified for jobs whose location not "US" or "EU"".
This requires a lot of annoying boilerplate, when the app uses a single location, which isn't US/EU. Namely for Tokyo now a
JobId
has to be provided to every call, which can be easily forgotten, hence breaking the app.Just like
projectId
can be configured atBigQueryOptions
and will be used later automatically, this should be also possible forlocation
.https://github.com/GoogleCloudPlatform/google-cloud-java/blob/4c3e3d137dfc57e6557bc49767251153dae00dab/google-cloud-clients/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/JobId.java#L54-L61
The text was updated successfully, but these errors were encountered: