nastra commented on issue #14634: URL: https://github.com/apache/iceberg/issues/14634#issuecomment-3562240492
> Not all tokens are refreshable in general, and Iceberg specifically has the API that allows fetching credential for this exact situation It makes sense that not all tokens are refreshable, but that can only be determined by the REST server that issues those tokens. And yes, `SupportsStorageCredentials` is basically used to pass the **optional** storage credentials from the LoadTable response to the underlying FileIO. However, Iceberg doesn't have anything in place that would automatically just reload the table when tokens are about to expire because this is a decision that would happen at a different layer. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
