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

"Added column does not sort as the last column" when using new python driver

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.13
    • Component/s: None
    • Labels:
    • Environment:

      Cassandra 2.0.10, python-driver 2.1.3

    • Severity:
      Normal

      Description

      We've just upgraded one of our python apps from using the old cql library to the new python-driver. When running one particular query, it produces the attached assertion error in Cassandra. The query is:

      SELECT buffer, id, type, json FROM events WHERE buffer = %(bid)s AND idkey = %(idkey)s ORDER BY id ASC

      Where buffer and idkey are integer primary keys, and id is the clustering key (ordered asc).

      This query, with identical parameters, does not cause this error using the old cql python library, or with the cqlsh client..

        Attachments

        1. 8767.patch
          2 kB
          Sylvain Lebresne
        2. 8767-debug-logging.txt
          2 kB
          Tyler Hobbs
        3. describe-table.txt
          0.7 kB
          Russ Garrett
        4. exception.txt
          2 kB
          Russ Garrett
        5. exception-with-logging.txt
          3 kB
          Russ Garrett

          Issue Links

            Activity

              People

              • Assignee:
                thobbs Tyler Hobbs
                Reporter:
                russ Russ Garrett
                Authors:
                Tyler Hobbs
                Reviewers:
                Tyler Hobbs
                Tester:
                Alan Boudreault
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: