linliu-code commented on code in PR #10718:
URL: https://github.com/apache/hudi/pull/10718#discussion_r1499978609


##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieCompactor.java:
##########
@@ -271,9 +262,9 @@ private int doCompact(JavaSparkContext jsc) throws 
Exception {
     }
   }
 
-  private Option<String> doSchedule(JavaSparkContext jsc) {
+  private Option<String> doSchedule(JavaSparkContext jsc) throws Exception {
     try (SparkRDDWriteClient client =
-             UtilHelpers.createHoodieClient(jsc, cfg.basePath, "", 
cfg.parallelism, Option.of(cfg.strategyClassName), props)) {
+             UtilHelpers.createHoodieClient(jsc, cfg.basePath, getSchema(), 
cfg.parallelism, Option.of(cfg.strategyClassName), props)) {

Review Comment:
   @jonvex, do you know how to trigger the failures by setting 
"hoodie.schema.add.field.ids = true"?



-- 
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

Reply via email to