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

Select Count with Limit returns wrong value

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            blerer Benjamin Lerer Assign to me
            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:

              Slack

                Issue deployment