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

Add support for the IN operator in secondary index queries

    XMLWordPrintableJSON

Details

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

    Description

      On a table like:

      CREATE Table t (a int , b int, c text, PRIMARY KEY (a, b));
      CREATE INDEX ON t (c);
      

      A query like

      SELECT * FROM t WHERE a IN (1, 2) AND b  > 3 AND c= 'test' ALLOW FILTERING;
      

      is not supported.

      If the user want to paginate over the result of such query, issuing 2 queries is not a good option.

      Attachments

        Issue Links

          Activity

            People

              blerer Benjamin Lerer
              blerer Benjamin Lerer
              Benjamin Lerer
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: