henrib commented on code in PR #5145: URL: https://github.com/apache/hive/pull/5145#discussion_r1850320414
########## iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveCatalog.java: ########## @@ -240,19 +240,14 @@ private void renameTableOrView( String fromName = from.name(); try { - Table table = clients.run(client -> client.getTable(fromDatabase, fromName)); - validateTableIsIcebergTableOrView(contentType, table, CatalogUtil.fullTableName(name, from)); + Table table = actor.getTable(fromDatabase, fromName); + validateTableIsIcebergTableOrView(contentType, table, TableIdentifier.of(from.namespace(), fromName).name()); Review Comment: We don't use it anywhere (else) but why not... -- 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