[
https://issues.apache.org/jira/browse/CASSANDRA-5788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13716509#comment-13716509
]
Edward Capriolo commented on CASSANDRA-5788:
--------------------------------------------
Can we re-open so I can put a unit test around this? I see we said this is
trivial but I think a test could help prevent this from happening again.
> 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