Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Dec 20, 2024
1 parent 054fd9c commit b98ae60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
import com.google.common.collect.RangeSet;
import com.google.common.collect.Sets;

import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
Expand Down Expand Up @@ -247,7 +246,8 @@ private static <K extends Comparable<K>> List<K> binarySearchFiltering(
return Utils.fastToImmutableList(selectedIdSets);
}

private static <K extends Comparable<K>> List<K> sequentialFiltering(Map<K, PartitionItem> idToPartitions, List<Slot> partitionSlots,
private static <K extends Comparable<K>> List<K> sequentialFiltering(
Map<K, PartitionItem> idToPartitions, List<Slot> partitionSlots,
Expression partitionPredicate, CascadesContext cascadesContext, int expandThreshold) {
List<OnePartitionEvaluator<?>> evaluators = Lists.newArrayListWithCapacity(idToPartitions.size());
for (Entry<K, PartitionItem> kv : idToPartitions.entrySet()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class SortedPartitionRanges<K> {
public final List<PartitionItemAndRange<K>> sortedPartitions;
public final List<PartitionItemAndId<K>> defaultPartitions;

/** SortedPartitionRanges */
public SortedPartitionRanges(
List<PartitionItemAndRange<K>> sortedPartitions, List<PartitionItemAndId<K>> defaultPartitions) {
this.sortedPartitions = Utils.fastToImmutableList(
Expand Down

0 comments on commit b98ae60

Please sign in to comment.