Reputation: 1
I have a project that is configured to use EU slots only. Using the BigQuery UI I can specify the region and run queries successfully.
However when I use the JAVA API I keep getting "project does not have the reservation in the data region"
I have tried to use .setLocation("eu") in QueryJobConfiguration.newBuilder but no luck there. Same error.
Does anyone know how can I make this work?
Thanks
Upvotes: 0
Views: 767
Reputation: 33745
Per the documentation on dataset regions, valid values (at the time of this writing) are US
, EU
, and asia-northeast1
. The EU
value needs to be in uppercase.
Upvotes: 1