wg1026688210 commented on code in PR #2858:
URL: https://github.com/apache/paimon/pull/2858#discussion_r1595037612


##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/sink/DividedUnawareCompactionWorkerOperator.java:
##########
@@ -20,92 +20,68 @@
 
 import org.apache.paimon.annotation.VisibleForTesting;
 import org.apache.paimon.append.AppendOnlyCompactionTask;
+import org.apache.paimon.flink.compact.UnwareBucketCompactionHelper;
 import org.apache.paimon.flink.source.BucketUnawareCompactSource;
-import org.apache.paimon.operation.AppendOnlyFileStoreWrite;
 import org.apache.paimon.options.Options;
 import org.apache.paimon.table.FileStoreTable;
 import org.apache.paimon.table.sink.CommitMessage;
-import org.apache.paimon.table.sink.TableCommitImpl;
 import org.apache.paimon.utils.ExecutorThreadFactory;
 
 import org.apache.flink.streaming.runtime.streamrecord.StreamRecord;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import java.io.IOException;
-import java.util.ArrayList;
-import java.util.LinkedList;
 import java.util.List;
-import java.util.Queue;
 import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
 import java.util.concurrent.Future;
 import java.util.concurrent.TimeUnit;
-import java.util.stream.Collectors;
 
 /**
  * Operator to execute {@link AppendOnlyCompactionTask} passed from {@link
- * BucketUnawareCompactSource}.
+ * BucketUnawareCompactSource} for compacting multi unaware bucket tables in 
divided mode.
  */
-public class AppendOnlyTableCompactionWorkerOperator
+public class DividedUnawareCompactionWorkerOperator
         extends PrepareCommitOperator<AppendOnlyCompactionTask, Committable> {
 
     private static final Logger LOG =
-            
LoggerFactory.getLogger(AppendOnlyTableCompactionWorkerOperator.class);
+            
LoggerFactory.getLogger(DividedUnawareCompactionWorkerOperator.class);
 
     private final FileStoreTable table;
     private final String commitUser;
 
-    private transient AppendOnlyFileStoreWrite write;
+    private UnwareBucketCompactionHelper compactionHelper;

Review Comment:
   done,this has been finished at #3175



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