Skip to content

Commit f975d7d

Browse files
committed
fix
1 parent 44abf24 commit f975d7d

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/CompactAction.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,10 @@ private boolean buildForIncrementalClustering(
321321
compactUnits.entrySet().stream()
322322
.collect(
323323
Collectors.toMap(
324-
Map.Entry
325-
::getKey, // 保持原有的BinaryRow键
324+
Map.Entry::getKey,
326325
unit ->
327326
unit.getValue()
328-
.outputLevel() // 提取CompactUnit中的level值
329-
))));
327+
.outputLevel()))));
330328
dataStreams.add(clusterCommittable);
331329
dataStreams.add(sourcePair.getRight());
332330
}

paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/cluster/RewriteIncrementalClusterCommittableOperator.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@
3838

3939
import static org.apache.paimon.utils.Preconditions.checkArgument;
4040

41-
/**
42-
* Rewrite committable from postpone bucket table compactor. It moves all new files into compact
43-
* results, and delete unused new files, because compactor only produce compact snapshots.
44-
*/
41+
/** Rewrite committable for new files written after clustered. */
4542
public class RewriteIncrementalClusterCommittableOperator
4643
extends BoundedOneInputOperator<Committable, Committable> {
4744
private static final long serialVersionUID = 1L;

0 commit comments

Comments
 (0)