Skip to content

Commit

Permalink
Remove dead code in CassandraSession
Browse files Browse the repository at this point in the history
  • Loading branch information
polaris6 authored and findepi committed May 18, 2022
1 parent 2ff665b commit be260e5
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,6 @@ public List<CassandraPartition> getPartitions(CassandraTable table, List<Set<Obj
rows = queryPartitionKeysLegacyWithMultipleQueries(table, filterPrefixes);
}

if (rows == null) {
// just split the whole partition range
return ImmutableList.of(CassandraPartition.UNPARTITIONED);
}

ByteBuffer buffer = ByteBuffer.allocate(1000);
HashMap<ColumnHandle, NullableValue> map = new HashMap<>();
Set<String> uniquePartitionIds = new HashSet<>();
Expand Down

0 comments on commit be260e5

Please sign in to comment.