deniskuzZ commented on code in PR #5529:
URL: https://github.com/apache/hive/pull/5529#discussion_r1861813300
##########
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java:
##########
@@ -2232,4 +2233,59 @@ private static List<FieldSchema>
schema(List<VirtualColumn> exprs) {
private static List<FieldSchema> orderBy(VirtualColumn... exprs) {
return schema(Arrays.asList(exprs));
}
+
+ @Override
+ public boolean canCompact(HiveConf hiveConf,
org.apache.hadoop.hive.ql.metadata.Table table, String partitionPath,
Review Comment:
that shouldn't be part of StorageHandler API, it's Compactor/Worker
responsibility
consider rename to `isEligibleForCompaction`
--
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]