linliu-code commented on code in PR #10718: URL: https://github.com/apache/hudi/pull/10718#discussion_r1499888944
########## 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 @yihua, to trigger the failures, I probably need to write a functional test for that since I need to use "hoodie.schema.add.field.ids = true". CC @nsivabalan -- 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