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

ALLOW FILTERING should allow seq scan filtering

    XMLWordPrintableJSON

Details

    Description

      CREATE TABLE emp_table2 (
      empID int PRIMARY KEY,
      firstname text,
      lastname text,
      b_mon text,
      b_day text,
      b_yr text,
      );
      INSERT INTO emp_table2 (empID,firstname,lastname,b_mon,b_day,b_yr)
      VALUES (100,'jane','doe','oct','31','1980');
      INSERT INTO emp_table2 (empID,firstname,lastname,b_mon,b_day,b_yr)
      VALUES (101,'john','smith','jan','01','1981');
      INSERT INTO emp_table2 (empID,firstname,lastname,b_mon,b_day,b_yr)
      VALUES (102,'mary','jones','apr','15','1982');
      INSERT INTO emp_table2 (empID,firstname,lastname,b_mon,b_day,b_yr)
      VALUES (103,'tim','best','oct','25','1982');

      SELECT b_mon,b_day,b_yr,firstname,lastname FROM emp_table2
      WHERE b_mon='oct' ALLOW FILTERING;

      Bad Request: No indexed columns present in by-columns clause with Equal operator

      Attachments

        Issue Links

          Activity

            People

              blerer Benjamin Lerer
              jbellis Jonathan Ellis
              Benjamin Lerer
              Sam Tunnicliffe
              Votes:
              19 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: