File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/source Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,18 +86,18 @@ public CompactorSourceBuilder withPartitionIdleTime(@Nullable Duration partition
8686 }
8787
8888 private Source <RowData , ?, ?> buildSource (CompactBucketsTable compactBucketsTable ) {
89+ compactBucketsTable =
90+ compactBucketsTable .copy (
91+ isContinuous ? streamingCompactOptions () : batchCompactOptions ());
8992 ReadBuilder readBuilder =
9093 compactBucketsTable .newReadBuilder ().withFilter (partitionPredicate );
91- if (compactBucketsTable . coreOptions ( ).manifestDeleteFileDropStats ()) {
94+ if (CoreOptions . fromMap ( table . options () ).manifestDeleteFileDropStats ()) {
9295 readBuilder = readBuilder .dropStats ();
9396 }
9497 if (isContinuous ) {
95- compactBucketsTable = compactBucketsTable .copy (streamingCompactOptions ());
9698 return new ContinuousFileStoreSource (readBuilder , compactBucketsTable .options (), null );
9799 } else {
98- compactBucketsTable = compactBucketsTable .copy (batchCompactOptions ());
99100 Options options = compactBucketsTable .coreOptions ().toConfiguration ();
100-
101101 return new StaticFileStoreSource (
102102 readBuilder ,
103103 null ,
You can’t perform that action at this time.
0 commit comments