cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Morton (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-2717) duplicate rows returned from SELECT where KEY term is duplicated
Date Fri, 27 May 2011 03:53:47 GMT


Aaron Morton commented on CASSANDRA-2717:

query was "SELECT foo FROM my-cf WHERE KEY = 'bar' and KEY = 'bar';"

Nothing a sane person would do, I was just using the randomly generated keys for the stress
test the same way the thrift based one does. 

> duplicate rows returned from SELECT where KEY term is duplicated
> ----------------------------------------------------------------
>                 Key: CASSANDRA-2717
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.8.0 beta 2
>            Reporter: Aaron Morton
>            Assignee: Aaron Morton
>            Priority: Minor
>              Labels: cql
> Noticed while working on CASSANDRA-2268 when random keys generated during a mutli_get
test contain duplicate keys. 
> The thrift multiget_slice() returns only the unique rows because of the map generated
for the result. 
> CQL will return a row for each KEY term in the SELECT. 
> I could make QueryProcessor.getSlice() only create commands for the unique keys if we
wanted to. 
> Not sure it's a bug and it's definitely not something that should come up to often, reporting
it because it's different to the thrift mutli_get operation. 
> Happy to close if it's by design. 

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message