maedhroz commented on code in PR #2049:
URL: https://github.com/apache/cassandra/pull/2049#discussion_r1061969520
##########
src/java/org/apache/cassandra/cql3/conditions/ColumnCondition.java:
##########
@@ -546,6 +737,7 @@ private static boolean listAppliesTo(ListType<?> type,
Iterator<Cell<?>> iter, L
private static boolean setAppliesTo(SetType<?> type, Iterator<Cell<?>>
iter, Set<ByteBuffer> elements, Operator operator)
{
+ // This is redundant since it is already a sorted set?
Review Comment:
It certainly looks that way. `Value` always stores a `SortedSet` using the
element type as a comparator. Probably worth streamlining.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]