[ 
https://issues.apache.org/jira/browse/CASSANDRA-8767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14326241#comment-14326241
 ] 

Tyler Hobbs commented on CASSANDRA-8767:
----------------------------------------

I came up with an [identical 
patch|https://github.com/thobbs/cassandra/commit/1af016a34af8d7258cd67b362fea73ebe69f919d]
 yesterday.  It does fix the problem and doesn't break any paging tests.  I 
also pushed my [dtest test 
case|https://github.com/riptano/cassandra-dtest/commit/08dad2fb575898b4a6a1bd9d43068093beff10d3].

I'm a little worried that there may be other, similarly subtle breakage around 
how reversed CFs are handled, but since we haven't seen them yet and this fixes 
a known problem, +1 and committed.

> "Added column does not sort as the last column" when using new python driver
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8767
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8767
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, Drivers (now out of tree)
>         Environment: Cassandra 2.0.10, python-driver 2.1.3
>            Reporter: Russ Garrett
>            Assignee: Tyler Hobbs
>             Fix For: 2.0.13
>
>         Attachments: 8767-debug-logging.txt, 8767.patch, describe-table.txt, 
> exception-with-logging.txt, exception.txt
>
>
> 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: 
> bq. 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..



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to