Open stevenmanton opened 1 month ago
As mentioned in this issue, you'll need to raise this issue as an FR for the object_store
Rust package, as Polars likely has limited control over its functionality.
Also, your code seems to be saying that Pandas fails to load the S3 URI. 🤔
# This line fails:
_ = pd.read_parquet(uri)
I've filed https://github.com/pola-rs/polars/issues/18979 to expose the necessary functionality in polars to allow you to resolve this
Checks
Reproducible example
Log output
Issue description
I'm unable to load files from S3 in certain environments. The issue seems related to using named AWS profiles. Other tools (e.g., boto3, pyarrow, s3fs), however, don't have this issue. Perhaps the internal Rust implementation that handles the AWS access doesn't pick up the environment variable? (Though the documentation states: "Polars looks for these as environment variable")
Expected behavior
The parquet file should load seamlessly from S3.
Installed versions