nastra commented on code in PR #12635:
URL: https://github.com/apache/iceberg/pull/12635#discussion_r2018157249
##########
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:
@wolflex888 I'm not sure I'm following here. The oauth token that is
potentially sub-scoped to the loaded table is passed to the Table FileIO
instance in
https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java#L973-L980
--
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]