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

Support Custom Predicate in CQL SELECT for Custom Secondary Index

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • None
    • Feature/2i Index
    • None

    Description

      The SELECT query validation limits the predicates the custom secondary index can support.

      Possible Approaches:
      -Introduction of a special predicate string like custom_predicate which by-passes validation

      CREATE CUSTOM INDEX ON table(column) USING 'org.example.CustomSecondaryIndex';

      Select * from table where custom_predicate=" something_only_custom_class_understands"

      This might open up possibilities like,

      • Range queries on secondary indexed columns etc
      • Wild cards

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yeshvanthni Yeshvanthni
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: