-
Notifications
You must be signed in to change notification settings - Fork 1.1k
bigquery: implement regionalization #3131
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
Conversation
| import com.google.cloud.bigquery.BigQueryException; | ||
| import java.util.Map; | ||
|
|
||
| @InternalExtensionOnly |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| import com.google.cloud.bigquery.BigQueryException; | ||
| import java.util.Map; | ||
|
|
||
| @InternalExtensionOnly |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| assertThat(bigquery.getJob(job.getJobId())).isNotNull(); | ||
|
|
||
| // Wrong location shouldn't work. | ||
| assertThat(bigquery.getJob(job.getJobId().toBuilder().setLocation(wrongLocation).build())) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| table.getTableId().getDataset(), | ||
| table.getTableId().getTable()); | ||
| Job job = | ||
| bigquery.create( |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| TableDataWriteChannel writer(WriteChannelConfiguration writeChannelConfiguration); | ||
|
|
||
| // TODO(pongad): document | ||
| TableDataWriteChannel writer(JobId jobId, WriteChannelConfiguration writeChannelConfiguration); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
We should follow this PR with another change that adds location to BigQueryOptions or something (a peer to where the default project is set). |
No description provided.