blerer commented on code in PR #3444:
URL: https://github.com/apache/cassandra/pull/3444#discussion_r1717204533


##########
src/java/org/apache/cassandra/cql3/restrictions/SimpleRestriction.java:
##########
@@ -217,7 +219,11 @@ public boolean isSupportedBy(Index index)
     @Override
     public List<ClusteringElements> values(QueryOptions options)
     {
-        assert operator == Operator.EQ || operator == Operator.IN || operator 
== Operator.ANN;
+        assert operator == Operator.EQ ||
+               operator == Operator.IN ||
+               operator == Operator.ANN ||
+               operator == Operator.NEQ ||
+               operator == Operator.NOT_IN;

Review Comment:
   That one is wrong, it means that we should be using filtering instead of the 
clustering index. An it seems that we have a problem somewhere because we 
should not call those for PartitionKey values.
   



-- 
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]

Reply via email to