Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Federated table/query not working - "Cannot read in location: us-west1"

I have a GCS bucket in US-WEST1:

enter image description here

That bucket has two files:

  1. wiki_1b_000000000000.csv.gz
  2. wiki_1b_000000000001.csv.gz

I've created a external table definition to read those files like so:

enter image description here

The dataset where this external table definition exists is also in the US.

enter image description here

When I query it with:

SELECT
  *
FROM
  `grey-sort-challenge.bigtable.federated`
LIMIT
  100

..I get the following error:

Error: Cannot read in location: us-west1

enter image description here

I tested with asia-northeast1 and it works fine.

Why isn't this working for the US region?

like image 925
Graham Polley Avatar asked Jan 28 '23 04:01

Graham Polley


1 Answers

Faced the same earlier. See G's answer - must use us-central1 for now: https://issuetracker.google.com/issues/76127552#comment11

like image 65
Yannick Einsweiler Avatar answered Feb 23 '23 01:02

Yannick Einsweiler