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

Allow filtering on clustering columns for queries without secondary indexes

    XMLWordPrintableJSON

Details

    Description

      Since CASSANDRA-6377 queries without index filtering non-primary key columns are fully supported.

      It makes sense to also support filtering on clustering-columns.

      CREATE TABLE emp_table2 (
      empID int,
      firstname text,
      lastname text,
      b_mon text,
      b_day text,
      b_yr text,
      PRIMARY KEY (empID, b_yr, b_mon, b_day));
      
      SELECT b_mon,b_day,b_yr,firstname,lastname FROM emp_table2
      WHERE b_mon='oct' ALLOW FILTERING;
      

      Attachments

        Issue Links

          Activity

            People

              ifesdjeen Alex Petrov
              blerer Benjamin Lerer
              Alex Petrov
              Sam Tunnicliffe
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: