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

Empty IN Clause still returns data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 2.2.0 beta 1
    • None
    • None

    Description

      The dtest cql_tests.py:TestCQL.empty_in_test is failing on trunk HEAD but not on 2.1-HEAD.

      The test uses the following table:

       CREATE TABLE test (k1 int, k2 int, v int, PRIMARY KEY (k1, k2)) 

      then performs a number of inserts.

      The test then asserts that

       SELECT v FROM test WHERE k1 = 0 AND k2 IN () 

      returns no data, however it is returning everywhere k1 = 0.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: