You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "karuppayya (via GitHub)" <gi...@apache.org> on 2026/05/06 17:53:38 UTC
[I] Support fs.s3a.auth.profile.name and fs.s3a.auth.profile.file for ProfileCredentialsProvider [datafusion-comet]
karuppayya opened a new issue, #4245:
URL: https://github.com/apache/datafusion-comet/issues/4245
### What is the problem the feature request solves?
Follow-up to #4212 / #4213.
#4213 added support for mapping `ProfileCredentialsProvider` to the AWS profile credential chain in the native `object_store`-based S3 reader, but it does not currently honor the Hadoop S3A configuration options:
- `fs.s3a.auth.profile.name` — selects the named profile to load
- `fs.s3a.auth.profile.file` — points to an alternate AWS credentials file
These are recognized by Hadoop's `org.apache.hadoop.fs.s3a.auth.ProfileAWSCredentialsProvider` (introduced in Hadoop 3.4.2). Per discussion on #4213 with @parthchandra, the native side should resolve these configs itself (similar to how `AssumedRoleCredentialProvider` and `SimpleAWSCredentialsProvider` already do), so the behavior is independent of the user's bundled Hadoop version.
### Describe the potential solution
Read `fs.s3a.auth.profile.name` / `fs.s3a.auth.profile.file` (with bucket-scoped overrides) in `build_aws_credential_provider_metadata` and forward them to `ProfileFileCredentialsProvider::builder()` via `.profile_name(...)` and `.profile_files(ProfileFiles::builder().with_file(Credentials, ...).build())`.
### Additional context
- Original feature: #4213
- Discussion: https://github.com/apache/datafusion-comet/pull/4213#issuecomment-4381552760
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Support fs.s3a.auth.profile.name and fs.s3a.auth.profile.file for ProfileCredentialsProvider [datafusion-comet]
Posted by "dwsmith1983 (via GitHub)" <gi...@apache.org>.
dwsmith1983 commented on issue #4245:
URL: https://github.com/apache/datafusion-comet/issues/4245#issuecomment-6066251182
take
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org