-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 region not able to be automatically determined #13940
Comments
Which is where we read it from? polars/crates/polars-io/src/cloud/options.rs Line 239 in d6c6cef
Isn't it under |
Yup, the files are in the usual Windows location that AWS CLI uses (and the key/secret themselves are being picked up fine) |
I am encountering a similar error with read_parquet(), using 0.20.8, which occurs if the region is specified with storage_options or not. The region is the same as that under the default config in ~/.aws.
|
In case it helps, I'm also seeing this issue on mac, I have my AWS credentials in
This issue seems similar to #15838 |
This should be fixed on main by #18259 |
Checks
Reproducible example
Log output
Issue description
S3 region is not being read correctly from .aws/config on our developer machines. All of the machines are set up as below:
.aws/credentials
.aws/config
Expected behavior
default region to be read from .aws/config correctly.
The current workaround solution is to provide the region from the boto3 session, which is able to automatically read it from the same .aws/config
Installed versions
The text was updated successfully, but these errors were encountered: