difin commented on code in PR #5540: URL: https://github.com/apache/hive/pull/5540#discussion_r1932717820
########## iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/compaction/IcebergCompactionService.java: ########## @@ -40,8 +40,8 @@ public IcebergCompactionService() { public Boolean compact(Table table, CompactionInfo ci) throws Exception { - if (!ci.isMajorCompaction()) { - ci.errorMessage = "Presently Iceberg tables support only Major compaction"; + if (!ci.isMajorCompaction() && !ci.isMinorCompaction()) { + ci.errorMessage = String.format("Iceberg tables do not support %s compaction type", ci.type.name()); Review Comment: Done -- 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