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

Select Count(*) on empty table does not return 0 in trunk

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: 2.2.0 beta 1
    • Component/s: None
    • Labels:
      None

      Description

      The test cql_tests.py:TestCQL.bug_6612_test is failing when performing a

       select count (*) 

      on an empty table. It is expecting to have [0] returned, but instead [] is returned. 2.1.1 shows the expected behavior, with trunk HEAD deviating.

      With cqlsh I can see a change in how select count(*) changes on an empty table as well:
      http://aep.appspot.com/display/xnJyEP7iOBMY6YvFNQdk8vofvsE/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                blerer Benjamin Lerer
                Reporter:
                philipthompson Philip Thompson
                Authors:
                Benjamin Lerer
                Tester:
                Philip Thompson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: