Skip to content
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

Default location should be configurable at BigQueryOptions #3609

Closed
nbali opened this issue Aug 27, 2018 · 1 comment
Closed

Default location should be configurable at BigQueryOptions #3609

nbali opened this issue Aug 27, 2018 · 1 comment
Assignees
Labels
api: bigquery Issues related to the BigQuery API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@nbali
Copy link

nbali commented Aug 27, 2018

"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 at BigQueryOptions and will be used later automatically, this should be also possible for location.

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

@nbali
Copy link
Author

nbali commented Aug 27, 2018

Similar issue at Python library: googleapis/google-cloud-python#5148

@yihanzhen yihanzhen added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. api: bigquery Issues related to the BigQuery API. labels Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants