wolflex888 commented on code in PR #12635:
URL: https://github.com/apache/iceberg/pull/12635#discussion_r2014648107


##########
core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java:
##########
@@ -414,6 +416,10 @@ public Table loadTable(SessionContext context, 
TableIdentifier identifier) {
         authManager.tableSession(finalIdentifier, tableConf, 
contextualSession);
     TableMetadata tableMetadata;
 
+    if (tableSession instanceof OAuth2Util.AuthSession) {

Review Comment:
   right. but when `loadTable` is called, the token from the tableSession does 
not get included in the property that initiates `tableFileIO`. This PR is 
proposing to include that token in the properties so the 
`VendedCredentialsProvider` can use it to initiate the http client.



-- 
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]

Reply via email to