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

Queries that require allow filtering are working without it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.2.0 beta 1
    • Legacy/CQL
    • None
    • Low

    Description

      The trunk dtest cql_tests.py:TestCQL.composite_index_with_pk_test has begun failing after the changes to CASSANDRA-7981.

      With the schema

      CREATE TABLE blogs (
                      blog_id int,
                      time1 int,
                      time2 int,
                      author text,
                      content text,
                      PRIMARY KEY (blog_id, time1, time2)

      and

      CREATE INDEX ON blogs(author)

      , then the query

      SELECT blog_id, content FROM blogs WHERE time1 > 0 AND author='foo'

      now requires ALLOW FILTERING, but did not before the refactor.

      Attachments

        1. CASSANDRA-8418-trunk-V2.txt
          0.8 kB
          Benjamin Lerer
        2. CASSANDRA-8418-2.1-V2.txt
          6 kB
          Benjamin Lerer
        3. CASSANDRA-8418.txt
          11 kB
          Benjamin Lerer

        Issue Links

          Activity

            People

              blerer Benjamin Lerer
              philipthompson Philip Thompson
              Benjamin Lerer
              Tom Hobbs
              Philip Thompson Philip Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: