deniskuzZ commented on code in PR #6012:
URL: https://github.com/apache/hive/pull/6012#discussion_r2260255236


##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/compaction/IcebergTableOptimizer.java:
##########
@@ -128,7 +128,7 @@ public Set<CompactionInfo> findPotentialCompactions(long 
lastChecked, ShowCompac
 
   private List<org.apache.hadoop.hive.common.TableName> getTables() {
     try {
-      return IcebergTableUtil.getTableFetcher(client, null, "*", 
null).getTables();
+      return IcebergTableUtil.getTableFetcher(client, null, "*", 
null).getTableNames();

Review Comment:
   why don't you reuse the table object and avoid extra call 
`IcebergTableUtil.getTable` here?



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