Skip to content

Commit

Permalink
rebase master
Browse files Browse the repository at this point in the history
  • Loading branch information
liming30 committed Nov 14, 2023
1 parent 05f46ac commit d5eabea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class ContinuousFileSplitEnumerator

protected final SplitAssigner splitAssigner;

private final ConsumerProgressCalculator consumerProgressCalculator;
protected final ConsumerProgressCalculator consumerProgressCalculator;

@Nullable protected Long nextSnapshotId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,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}. */
Expand Down Expand Up @@ -99,10 +100,15 @@ public static SplitAssigner createDynamicPartitionPruningAssignerIfNeeded(
dynamicFilteringData.isFiltering());
return dynamicFilteringData.isFiltering()
? new DynamicPartitionPruningAssigner(
oriAssigner, partitionRowProjection, dynamicFilteringData)
oriAssigner, partitionRowProjection, dynamicFilteringData)
: oriAssigner;
}

@Override
public Optional<Long> getNextSnapshotId(int subtask) {
return innerAssigner.getNextSnapshotId(subtask);
}

private boolean filter(FileStoreSourceSplit sourceSplit) {
DataSplit dataSplit = (DataSplit) sourceSplit.split();
BinaryRow partition = dataSplit.partition();
Expand Down

0 comments on commit d5eabea

Please sign in to comment.