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

2018-05-11 Thread Jeremy Hanna (JIRA)

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

Jeremy Hanna updated CASSANDRA-5788:

Labels: LWT  (was: )

> 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
>Priority: Major
>  Labels: LWT
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



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

2013-07-22 Thread Sylvain Lebresne (JIRA)

 [ 
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