JingsongLi commented on code in PR #1309: URL: https://github.com/apache/incubator-paimon/pull/1309#discussion_r1217927848
########## paimon-core/src/main/java/org/apache/paimon/operation/AppendOnlyFileStoreWrite.java: ########## @@ -158,4 +159,39 @@ private AppendOnlyCompactManager.CompactRewriter compactRewriter( return rewriter.result(); }; } + + // AppendOnlyCompactWorker need rewriter to execute compaction task + public AppendOnlyCompactManager.CompactRewriter singleCompactRewriter( + BinaryRow partition, int bucket) { + return toCompact -> { Review Comment: You can refactor `compactRewriter` to provide a `allowRolling` option. -- 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: issues-unsubscr...@paimon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org