JingsongLi commented on code in PR #805:
URL: https://github.com/apache/incubator-paimon/pull/805#discussion_r1155611305


##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/source/CompactorSourceBuilder.java:
##########
@@ -92,14 +93,28 @@ public CompactorSourceBuilder 
withPartitions(List<Map<String, String>> partition
                                     .toArray(Predicate[]::new));
         }
 
-        ReadBuilder readBuilder = 
bucketsTable.newReadBuilder().withFilter(partitionPredicate);
         if (isContinuous) {
+            // set 'streaming-compact' and remove 'scan.bounded.watermark' if 
exists
+            Options options = bucketsTable.coreOptions().toConfiguration();
+            options.set(CoreOptions.STREAMING_COMPACT, true);

Review Comment:
   create a new options to set.



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