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

Select Count with Limit returns wrong value

    XMLWordPrintableJSON

Details

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

    Description

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

      The query

       select count(*) from test where field3 = false limit 1; 

      is returning 2, where obviously it should only return 1 because of the limit. This may end up having the same root cause of #8214, I will be bisecting them both soon.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: