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 C392010D43 for ; Fri, 14 Feb 2014 08:53:22 +0000 (UTC) Received: (qmail 19928 invoked by uid 500); 14 Feb 2014 08:53:22 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 19708 invoked by uid 500); 14 Feb 2014 08:53:21 -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 19682 invoked by uid 99); 14 Feb 2014 08:53:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Feb 2014 08:53:20 +0000 Date: Fri, 14 Feb 2014 08:53:19 +0000 (UTC) From: "Gavin Casey (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-6706) Duplicate rows returned when in clause has repeated values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Gavin Casey created CASSANDRA-6706: -------------------------------------- Summary: Duplicate rows returned when in clause has repeated values Key: CASSANDRA-6706 URL: https://issues.apache.org/jira/browse/CASSANDRA-6706 Project: Cassandra Issue Type: Bug Components: Core Environment: Found on [cqlsh 4.1.0 | Cassandra 2.0.3-SNAPSHOT | CQL spec 3.0.0 | Thrift protocol 19.38.0] Reporter: Gavin Casey If a value is repeated within an IN clause then repeated rows are returned for the repeats: cqlsh> create table t1(c1 text primary key); cqlsh> insert into t1(c1) values ('A'); cqlsh> select * from t1; c1 ---- A cqlsh> select * from t1 where c1 = 'A'; c1 ---- A cqlsh> select * from t1 where c1 in( 'A'); c1 ---- A cqlsh:dslog> select * from t1 where c1 in( 'A','A'); c1 ---- A A -- This message was sent by Atlassian JIRA (v6.1.5#6160)