the-other-tim-brown commented on code in PR #13340:
URL: https://github.com/apache/hudi/pull/13340#discussion_r2110751646


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/CleanFunction.java:
##########
@@ -61,13 +61,12 @@ public void open(Configuration parameters) throws Exception 
{
     super.open(parameters);
     this.writeClient = FlinkWriteClients.createWriteClient(conf, 
getRuntimeContext());
     this.executor = 
NonThrownExecutor.builder(LOG).waitForTasksFinish(true).build();
-    String instantTime = writeClient.createNewInstantTime();
-    LOG.info(String.format("exec clean with instant time %s...", instantTime));
     if (conf.getBoolean(FlinkOptions.CLEAN_ASYNC_ENABLED)) {
       executor.execute(() -> {
         this.isCleaning = true;
         try {
-          this.writeClient.clean(instantTime);
+          LOG.info("Starting clean");

Review Comment:
   It will get logged 
[here](https://github.com/apache/hudi/pull/13340/files#diff-e84ac6fb330092091e798910d614f2c6b551cb24bdc660a577e67c5e11ac72c4R830)
 so we should be fine to remove this as suggested. 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to