Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/main/java/org/tikv/common/predicates/ScanSpec.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ void addRangePredicate(TiIndexColumn col, Expression predicate) {

public ScanSpec build() {
List<Expression> points = new ArrayList<>();
List<DataType> pointTypes = new ArrayList<>();
Set<Expression> pushedPredicates = new HashSet<>();
if (index != null) {
for (TiIndexColumn indexColumn : index.getIndexColumns()) {
Expand All @@ -118,10 +117,7 @@ public ScanSpec build() {
break;
}
pushedPredicates.addAll(predicates);
TiColumnInfo tiColumnInfo = table.getColumn(indexColumn.getOffset());
DataType type = tiColumnInfo.getType();
points.add(mergeCNFExpressions(predicates));
pointTypes.add(type);
}
}
Optional<Expression> newRangePred =
Expand Down
Loading