You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/10/01 10:35:02 UTC

[GitHub] [hudi] danny0405 commented on a diff in pull request #6845: [HUDI-4945] Support to trigger the clean in the flink batch mode.

danny0405 commented on code in PR #6845:
URL: https://github.com/apache/hudi/pull/6845#discussion_r985083279


##########
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:
   We have another fix in #6515 , does that solve your problem ?



-- 
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-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org