zhuanshenbsj1 commented on code in PR #8505:
URL: https://github.com/apache/hudi/pull/8505#discussion_r1186656966
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieCompactor.java:
##########
@@ -295,4 +301,11 @@ private String getSchemaFromLatestInstant() throws
Exception {
Schema schema = schemaUtil.getTableAvroSchema(false);
return schema.toString();
}
+
+ private void cleanAfterCompact(SparkRDDWriteClient client) {
+ if (client.getConfig().isAutoClean()) {
+ LOG.info("Start to clean synchronously.");
Review Comment:
Auto-Clean can be modified through the input para config of the job
constructor, just like unit testing. And this is also reasonable, allowing
users to manually turn off cleaning.
--
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]