itsbilal commented on code in PR #2075:
URL: https://github.com/apache/iceberg-go/pull/2075#discussion_r4148779988


##########
catalog/catalog.go:
##########
@@ -130,6 +130,9 @@ type Catalog interface {
        ListTables(ctx context.Context, namespace table.Identifier) 
iter.Seq2[table.Identifier, error]
        // LoadTable loads a table from the catalog and returns a Table with 
the metadata.
        LoadTable(ctx context.Context, identifier table.Identifier) 
(*table.Table, error)
+       // RefreshTableCredentials loads temporarily-vended credentials for a 
previously
+       // loaded table, and returns a new/modified table instance with 
up-to-date credentials.
+       RefreshTableCredentials(ctx context.Context, tbl *table.Table) 
(*table.Table, error)

Review Comment:
   Added an optional interface, thanks!



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