You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2015/07/16 15:46:04 UTC

[jira] [Commented] (CASSANDRA-9825) SELECT queries broken for Thrift-created tables with non-string comparators

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

Sylvain Lebresne commented on CASSANDRA-9825:
---------------------------------------------

That was definitively not doing what it should have. Pushed a simple fix [here|https://github.com/pcmanus/cassandra/commits/9825]. CI results will ultimately be there:
* unit tests: http://cassci.datastax.com/view/Dev/view/pcmanus/job/pcmanus-9825-testall/
* dtests: http://cassci.datastax.com/view/Dev/view/pcmanus/job/pcmanus-9825-dtest/

> SELECT queries broken for Thrift-created tables with non-string comparators
> ---------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9825
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9825
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Aleksey Yeschenko
>            Assignee: Sylvain Lebresne
>             Fix For: 3.0 beta 1
>
>
> {{CFMetaData.getColumnNameType()}} is broken, which in turn breaks {{ColumnIdentifier.Raw.prepare()}}.
> Basically, the logic of it is incorrect - we should be returning the type of the clustering column, not of the {{REGULAR}} {{value}} one.
> See {{ThriftCompatibilityTest}} after [this commit|https://github.com/apache/cassandra/commit/376e552c42e3120638249369029bfa2b9398395c].



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