danny0405 commented on a change in pull request #4753: URL: https://github.com/apache/hudi/pull/4753#discussion_r804432099
########## File path: hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieCompactor.java ########## @@ -293,4 +297,17 @@ private String getSchemaFromLatestInstant() throws Exception { Schema schema = schemaUtil.getTableAvroSchema(false); return schema.toString(); } + + private int handleErrors(HoodieCommitMetadata metadata, String instantTime) { + List<HoodieWriteStat> writeStats = metadata.getPartitionToWriteStats().entrySet().stream().flatMap(e -> Review comment: Can we also put it into the `UtilHelpers` ? -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org