Skip to content

Conversation

@XN137
Copy link
Contributor

@XN137 XN137 commented Nov 4, 2025

  • add StorageCredentialsVendor as request-scoped wrapper around PolarisCredentialVendor
  • make FileIOFactory request-scoped
  • make TaskFileIOSupplier request-scoped

- add `StorageCredentialsVendor` as request-scoped wrapper around `PolarisCredentialVendor`
- make `FileIOFactory` request-scoped
- make `TaskFileIOSupplier` request-scoped
@XN137 XN137 force-pushed the request-scoped-AccessConfigProvider branch from 662a47e to 95cd2cf Compare November 7, 2025 16:20
@XN137 XN137 marked this pull request as ready for review November 7, 2025 16:23
Copy link
Contributor

@dimas-b dimas-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR LGTM as it stands 👍 but I wonder if we could take it one step further (as commented below) 🤔 WDYT?

? tableLocations
: Set.of();
AccessConfig accessConfig =
storageCredentialCache.getOrGenerateSubScopeCreds(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYT about making AccessConfigProvider and interface and hiding StorageCredentialCache in one of the implementations?

StorageCredentialCache will remain application-scoped, of course?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants