zratkai commented on code in PR #5145: URL: https://github.com/apache/hive/pull/5145#discussion_r1881642301
########## iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java: ########## @@ -143,21 +149,21 @@ public FileIO io() { protected void doRefresh() { String metadataLocation = null; try { - Table table = metaClients.run(client -> client.getTable(database, tableName)); - HiveOperationsBase.validateTableIsIceberg(table, fullName); - - metadataLocation = table.getParameters().get(METADATA_LOCATION_PROP); - + Table table = actor.getTable(database, tableName); + if (table != null) { Review Comment: How was this case handled before. when table is null? -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org