pranavshenoy commented on code in PR #4290:
URL: https://github.com/apache/cassandra/pull/4290#discussion_r2337148330
##########
test/unit/org/apache/cassandra/cql3/restrictions/ClusteringColumnRestrictionsTest.java:
##########
@@ -1669,7 +1669,7 @@ private static Restriction newMultiEq(TableMetadata
tableMetadata, int firstInde
TupleType tupleType = new TupleType(types);
return new SimpleRestriction(ColumnsExpression.multiColumns(columns,
tableMetadata),
Operator.EQ,
- Terms.of(new
MultiElements.Value(tupleType, asList(values))));
+ Terms.of(new
MultiElements.Value(tupleType, asList(values))), false);
Review Comment:
done
##########
test/unit/org/apache/cassandra/cql3/validation/entities/SecondaryIndexTest.java:
##########
@@ -843,16 +844,16 @@ public void prepareStatementsWithLIKEClauses() throws
Throwable
// LIKE is not supported on indexes of non-literal values
// this is rejected before binding, so the value isn't available in
the error message
- assertInvalidMessage("LIKE restriction is only supported on properly
indexed columns. v3 LIKE ? is not valid",
+ assertInvalidMessage("Cannot execute this query as it might involve
data filtering and thus may have unpredictable performance. If you want to
execute this query despite the performance unpredictability, use ALLOW
FILTERING",
Review Comment:
done
--
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]