diff --git a/presto-cassandra/src/main/java/com/facebook/presto/cassandra/NativeCassandraSession.java b/presto-cassandra/src/main/java/com/facebook/presto/cassandra/NativeCassandraSession.java index 08cacc683a3f..8235044b5b97 100644 --- a/presto-cassandra/src/main/java/com/facebook/presto/cassandra/NativeCassandraSession.java +++ b/presto-cassandra/src/main/java/com/facebook/presto/cassandra/NativeCassandraSession.java @@ -494,7 +494,9 @@ private List buildPartitionsFromFilterPrefixes(CassandraTabl CassandraType cassandraType = columnHandle.getCassandraType(); switch (cassandraType) { + case ASCII: case TEXT: + case VARCHAR: Slice slice = (Slice) value; if (isComposite) { buffer.putShort((short) slice.length());