Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17198

Allow to filter using LIKE predicates

    XMLWordPrintableJSON

Details

    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

        Activity

          People

            subkanthi Kanthi Subramanian
            blerer Benjamin Lerer
            Kanthi Subramanian
            b.lerer@gmail.com, Berenguer Blasi
            Benjamin Lerer Benjamin Lerer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: