Details
-
Improvement
-
Status: Review In Progress
-
Normal
-
Resolution: Unresolved
-
Semantic
-
Low Hanging Fruit
-
All
-
None
-
Description
LIKE predicates can only be used with the SASI indices. In several usecases (e.g. querying the settings virtual table) it makes sense to support them for filtering.
Additional information for newcomers:
There are some checks in the StatementRestrictions constructor and on LikeRestriction that need to be removed for allowing filtering using LIKE on clustering and regular columns.
For filtering on partition columns the needFiltering methods in PartitionKeySingleRestrictionSet will need to be modified to return true when LIKE predicate are used.
The unit tests should go in SelectTest.
Attachments
Issue Links
- incorporates
-
CASSANDRA-19574 LIKE_MATCHES should be an equality
- Open
- is related to
-
CASSANDRA-18493 SAI - LIKE prefix/suffix support
- Open