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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.13
    • None
    • Cassandra 2.0.10, python-driver 2.1.3

    • 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. exception-with-logging.txt
          3 kB
          Russ Garrett
        2. exception.txt
          2 kB
          Russ Garrett
        3. describe-table.txt
          0.7 kB
          Russ Garrett
        4. 8767-debug-logging.txt
          2 kB
          Tom Hobbs
        5. 8767.patch
          2 kB
          Sylvain Lebresne

        Issue Links

          Activity

            People

              thobbs Tom Hobbs
              russ Russ Garrett
              Tom Hobbs
              Tom Hobbs
              Alan Boudreault Alan Boudreault
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: