danny0405 commented on code in PR #6845: URL: https://github.com/apache/hudi/pull/6845#discussion_r990583385
########## hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/HoodieTableSink.java: ########## @@ -96,9 +96,10 @@ public SinkRuntimeProvider getSinkRuntimeProvider(Context context) { pipeline = Pipelines.hoodieStreamWrite(conf, hoodieRecordDataStream); // compaction if (OptionsResolver.needsAsyncCompaction(conf)) { - // use synchronous compaction for bounded source. + // use synchronous compaction and clean for bounded source. if (context.isBounded()) { conf.setBoolean(FlinkOptions.COMPACTION_ASYNC_ENABLED, false); + conf.setBoolean(FlinkOptions.CLEAN_ASYNC_ENABLED, false); } Review Comment: Yeah, thanks for the explanation, can we try to add a test case here ? -- 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