ajantha-bhat commented on code in PR #6789: URL: https://github.com/apache/iceberg/pull/6789#discussion_r1109495367
########## nessie/src/main/java/org/apache/iceberg/nessie/NessieCatalog.java: ########## @@ -223,13 +224,13 @@ protected String defaultWarehouseLocation(TableIdentifier table) { @Override public List<TableIdentifier> listTables(Namespace namespace) { - return client.listTables(namespace); + return refreshedClient().listTables(namespace); Review Comment: refreshing the client is enough for a few APIs that doesn't use `TableOperations`. But the code looks odd. So, I am refreshing all the APIs as it is a lightweight operation. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org