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 2013/07/22 10:44:48 UTC

[jira] [Updated] (CASSANDRA-5788) StorageProxy#cas() doesn't order columns names correctly when querying

     [ https://issues.apache.org/jira/browse/CASSANDRA-5788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne updated CASSANDRA-5788:
----------------------------------------

    Attachment: 5788.txt

Trivial patch attached.
                
> StorageProxy#cas() doesn't order columns names correctly when querying
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-5788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5788
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 2.0 beta 1
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 2.0 beta 2
>
>         Attachments: 5788.txt
>
>
> When querying columns for CAS, we build the SortedSet with:
> {noformat}
> new NamesQueryFilter(ImmutableSortedSet.copyOf(expected.getColumnNames())
> {noformat}
> but ImmutableSortedSet.copyOf() uses the natural order of keys unless a comparator is given, which is not what we want.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira