I have defined S3 compatible storage (Scaleway, Paris, France) setting the following properties:
fs.s3a.endpoint = s3.fr-par.scw.cloud fs.s3a.path.style.access = true
I’m able to browse folders and when I try to create a virtual data set I see the automatic preview of the parquet data.
But when I try to execute a query like
Select * from <my-dataset>
I got this error
software.amazon.awssdk.services.s3.model.S3Exception: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'fr-par' (Service: S3, Status Code: 400, Request ID: txe0f521accf5841c0b91ca-006155bae2).
The error makes sense for me, so the question is: "What is the property to set with the right region to fix the error?