Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

BigQuery - Cannot read and write in different locations: source: EU, destination: US

I've created a basic instance in europe-west1-b. I try to join data from 2 BigQuery tables and write the results back to BigQuery. I got this error : java.io.IOException: Cannot read and write in different locations: source: EU, destination: US

The automatically created temporary storage bucket is located in the US while the Cloud Data Fusion instance and BigQuery tables are in the EU.

I fixed this issue by manually creating a bucket in the correct zone and specifying these in the sink/source.

Can this manual step be avoided by automatically picking the correct zone?

like image 900
Koen Verschaeren Avatar asked Nov 06 '22 17:11

Koen Verschaeren


1 Answers

Thanks for notifying the issue. We have filed an enhancement bug https://issues.cask.co/browse/CDAP-15372 to support picking up the right zone. Please watch that JIRA for the further updates.

Best Regards,

Sagar

like image 120
Sagar Kapare Avatar answered Nov 24 '22 16:11

Sagar Kapare