BigQuery Source tries to run jobs in the wrong location
Description
Release Notes
n/a
is duplicated by
Activity
Show:
Sanket Sahu October 26, 2022 at 5:20 PM
Sanket Sahu October 21, 2022 at 11:19 AM
Avinash Achar October 21, 2022 at 7:59 AM
Should be fixed
Unresolved
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Sanket Sahu
Sanket SahuReporter
Fernando Velasquez
Fernando VelasquezTriaged
Yes
Fix versions
Priority
More fields
Original estimate
More fields
Original estimateCreated October 18, 2022 at 8:45 PM
Updated November 4, 2022 at 6:56 PM
BQ Source Pushdown uses the configured Location when executing jobs.
However, this location should only be used when creating a new Dataset for staging. If the staging dataset already exists, the location for this staging dataset should be the location of the jobs we execute.
See https://github.com/data-integrations/google-cloud/blob/47580e302154c34156c54296063e234e8065fb5d/src/main/java/io/cdap/plugin/gcp/bigquery/sqlengine/BigQueryReadDataset.java#L250