[
https://issues.apache.org/jira/browse/CASSANDRA-2717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067869#comment-13067869
]
Hudson commented on CASSANDRA-2717:
-----------------------------------
Integrated in Cassandra-0.8 #224 (See
[https://builds.apache.org/job/Cassandra-0.8/224/])
CQL: include only one row per unique keyfor IN queries
patch by Jim Ancona; reviewed by pyaskevich for CASSANDRA-2717
jbellis :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1148425
Files :
* /cassandra/branches/cassandra-0.8/test/system/test_cql.py
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/Term.java
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/QueryProcessor.java
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/Cql.g
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/WhereClause.java
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cql/SelectStatement.java
> duplicate rows returned from SELECT where KEY term is duplicated
> ----------------------------------------------------------------
>
> Key: CASSANDRA-2717
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2717
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.8.0 beta 2
> Reporter: Aaron Morton
> Assignee: Jim Ancona
> Priority: Minor
> Labels: cql, lhf
> Fix For: 0.8.2
>
> Attachments:
> v1-0001-CASSANDRA-2717-Prevent-multiple-KEY-terms-properly-han.txt,
> v2-0001-CASSANDRA-2717-Prevent-multiple-KEY-terms-properly-han.txt,
> v2-0002-Set-multiKey-state-from-within-grammar.txt
>
>
> 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: http://www.atlassian.com/software/jira