I need to query data in regions other than the region where Athena running.
Trying this: https://docs.aws.amazon.com/athena/latest/ug/json.html Followed the docs, And Even I can't query bucket in the same region.
Say my current S3 and Athena both are us-east-1, then
LOCATION 's3://mybucket/data/' . (Working)
LOCATION 's3://mybucket-us-east-1/data/' (Not Working)
I need to query data from eu-central-1 LOCATION 's3://my-another-bucket-eu-central-1/data/' (Not Working)
Any Help?
Error : FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. com.amazon.ws.emr.hadoop.fs.shaded.com.amazonaws.services.s3.model.AmazonS3Exception: The specified bucket does not exist (Service: Amazon S3; Status Code: 404; Error Code: NoSuchBucket;