Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7F91101DE for ; Tue, 2 Jul 2013 16:59:21 +0000 (UTC) Received: (qmail 84025 invoked by uid 500); 2 Jul 2013 16:59:20 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 83858 invoked by uid 500); 2 Jul 2013 16:59:20 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 83773 invoked by uid 99); 2 Jul 2013 16:59:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 16:59:20 +0000 Date: Tue, 2 Jul 2013 16:59:20 +0000 (UTC) From: "Alex Liu (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5718) Cql3 reader returns duplicate rows if the cluster column is reversed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Liu updated CASSANDRA-5718: -------------------------------- Description: To reproduce it, cqlsh:test> select * from wordfreq; title | occurances | word ---------+------------+------- alex123 | 4 | liu3 alex1 | 23456 | liu2 alex10 | 10 | liu10 alex12 | 34 | liu3 alex | 123456 | liu1 alex | 1000 | liu CREATE TABLE wordfreq ( title text, word text, occurances int, PRIMARY KEY (title,occurances)) WITH CLUSTERING ORDER by (occurances DESC); The hadoop job returns 7 rows instead of 6 rows. I will post a patch soon. was: To reproduce it, cqlsh:test> select * from wordfreq; title | occurances | word ---------+------------+------- alex123 | 4 | liu3 alex1 | 23456 | liu2 alex10 | 10 | liu10 alex12 | 34 | liu3 alex | 123456 | liu1 alex | 1000 | liu CREATE TABLE wordfreq ( title text, word text, occurances int, PRIMARY KEY (title,occurances)) WITH CLUSTERING ORDER by (occurances DESC); I will post a patch soon. > Cql3 reader returns duplicate rows if the cluster column is reversed > -------------------------------------------------------------------- > > Key: CASSANDRA-5718 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5718 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.2.6 > Reporter: Alex Liu > Assignee: Alex Liu > > To reproduce it, > cqlsh:test> select * from wordfreq; > title | occurances | word > ---------+------------+------- > alex123 | 4 | liu3 > alex1 | 23456 | liu2 > alex10 | 10 | liu10 > alex12 | 34 | liu3 > alex | 123456 | liu1 > alex | 1000 | liu > CREATE TABLE wordfreq ( title text, word text, occurances int, PRIMARY KEY (title,occurances)) WITH CLUSTERING ORDER by (occurances DESC); > The hadoop job returns 7 rows instead of 6 rows. > I will post a patch soon. -- 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