deniskuzZ commented on a change in pull request #2772:
URL: https://github.com/apache/hive/pull/2772#discussion_r760246130
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java
##########
@@ -279,10 +292,14 @@ private void clean(CompactionInfo ci, long minOpenTxnGLB,
boolean metricsEnabled
}
}
}
+
+ private interface CleanerTask<T> {
+ T execute() throws Exception;
+ }
- private ValidReaderWriteIdList getValidCleanerWriteIdList(CompactionInfo ci,
Table t, ValidTxnList validTxnList)
+ private ValidReaderWriteIdList getValidCleanerWriteIdList(CompactionInfo ci,
ValidTxnList validTxnList)
Review comment:
it's needed for `safe_delete` use case as we won't be able to resolve
table object - metadata would be already removed, we should get full tableName
from the ci object.
--
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]