From 0a01527857b69cc111d19702c6079d431a2dec09 Mon Sep 17 00:00:00 2001 From: "liming.1018" Date: Mon, 13 Nov 2023 15:10:24 +0800 Subject: [PATCH] rebase master --- .../source/assigners/DynamicPartitionPruningAssigner.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/source/assigners/DynamicPartitionPruningAssigner.java b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/source/assigners/DynamicPartitionPruningAssigner.java index 5e5a7247ef080..0a591136e0aa3 100644 --- a/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/source/assigners/DynamicPartitionPruningAssigner.java +++ b/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/source/assigners/DynamicPartitionPruningAssigner.java @@ -31,6 +31,7 @@ import java.util.Collection; import java.util.Collections; import java.util.List; +import java.util.Optional; import java.util.stream.Collectors; /** Assigner to perform dynamic partition pruning by given {@link DynamicFilteringData}. */ @@ -83,6 +84,11 @@ public Collection remainingSplits() { .collect(Collectors.toList()); } + @Override + public Optional getNextSnapshotId(int subtask) { + return innerAssigner.getNextSnapshotId(subtask); + } + private boolean filter(FileStoreSourceSplit sourceSplit) { DataSplit dataSplit = (DataSplit) sourceSplit.split(); BinaryRow partition = dataSplit.partition();