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

Allow secondary indexed columns to be used with IN operator

    XMLWordPrintableJSON

Details

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

    Description

      Related to https://issues.apache.org/jira/browse/CASSANDRA-4709

      Using a secondary indexed column we get: Cannot use IN operator on column not part of the PRIMARY KEY
      But with any other than the first element of a composite primary key we get: PRIMARY KEY part [COLUMN] cannot be restricted by IN relation

      This is a pity, because one of the main attractions of CQL over the thrift API is the ability to do OR filtering on the node rather than the client

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hymanroth David Semeria
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: