BigQuery plugins temporary bucket location enhancements

Description

The BigQuery plugins use a temporary GCS bucket for intermediate storage. If one is not given, it will auto-create a bucket. However, the auto-created bucket is located in the US, which causes problems if the BQ table is in the EU, resulting in errors like:

java.io.IOException: Cannot read and write in different locations: source: EU, destination: US

The plugins should create buckets in the same zone as the BQ table when auto-creating.

If a bucket is given, they should also validate that the locations are valid to fail at pipeline deployment instead of at runtime.

Release Notes

Fixed the BigQuery plugins to create temporary GCS buckets in the same location as the BigQuery dataset.

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

Created May 13, 2019 at 5:04 PM
Updated July 17, 2020 at 12:28 AM
Resolved August 13, 2019 at 8:44 PM