maedhroz commented on code in PR #4290:
URL: https://github.com/apache/cassandra/pull/4290#discussion_r2264386147


##########
src/java/org/apache/cassandra/index/sai/plan/Expression.java:
##########
@@ -268,6 +287,10 @@ public boolean isSatisfiedBy(ByteBuffer columnValue)
 
         if (lower != null)
         {
+            // Post-filtering for LIKE operators must be consistent with 
implementation of LIKE operators in non-SAI Allow Filtering path
+            if(operator.isLikeVariant())
+                return termMatches(value.raw, lower.value.raw);

Review Comment:
   I think we still may need to account for things like case-insensitive search 
eventually, so we should be able to just fall through to 
`validateStringValue()`, which would just call `termMatches()` anyway?



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