I am using the Redshift Cluster in us-west-1
(NCAL)
s3 file location is in us-west-1
(NCAL)
Glue data catalog is in us-west-2
(Oregon)
When I try to query the table
select count(*) from spectrum_schema.table_name;
I get the error below.
[Code: 500310, SQL State: XX000] [Amazon](500310) Invalid operation: The
specified region 'us-west-1' is invalid.
Details:
-----------------------------------------------
error: The specified region 'us-west-1' is invalid.
code: 8001
context: The valid regions are us-east-1,us-east-2,us-west-2.
query: 169676
location: region_endpoints.cpp:54
process: padbmaster [pid=4487]
-----------------------------------------------
The table definition did get created in the Glue catalog and I can also see it being defined in svv_external_tables in Redshift. Just that I cannot query it.
How can this be fixed? Can anyone help?
Thanks and regards, Kunal Ghosh