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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 2.2.0 beta 1
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: