8000 Default location should be configurable at BigQueryOptions · Issue #3609 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to content

Default location should be configurable at BigQueryOptions #3609

@nbali

Description

@nbali

"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

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0