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 9822CCC46 for ; Tue, 1 Oct 2013 10:37:31 +0000 (UTC) Received: (qmail 93192 invoked by uid 500); 1 Oct 2013 10:37:30 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 93159 invoked by uid 500); 1 Oct 2013 10:37:25 -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 93146 invoked by uid 99); 1 Oct 2013 10:37:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 10:37:24 +0000 Date: Tue, 1 Oct 2013 10:37:23 +0000 (UTC) From: "Fabien Rousseau (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-6119) IndexedSliceReader can skip columns when fetching multiple contiguous slices 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-6119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabien Rousseau updated CASSANDRA-6119: --------------------------------------- Attachment: 6119.patch > IndexedSliceReader can skip columns when fetching multiple contiguous slices > ---------------------------------------------------------------------------- > > Key: CASSANDRA-6119 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6119 > Project: Cassandra > Issue Type: Bug > Reporter: Fabien Rousseau > Assignee: Fabien Rousseau > Attachments: 6119.patch > > > This was observed using SliceQueryFilter with multiple slices. > Let's have a row "a" having the following column list : "colA", "colB", "colC", "colD" > Then select 2 ranges : ["colA", "colB"], ["colC", "colD"] > Expected result is the four columns > But only 3 are returned ("colA", "colB", "colD") > To reproduce the above scenario in the unit tests, you can modify the test "ColumnFamilyStoreTest.testMultiRangeIndexed" by replacing the original line : > String[] letters = new String[] { "a", "b", "c", "d", "e", "f", "g", "h", "i" }; > by this one ("f" letter has been removed) : > String[] letters = new String[] { "a", "b", "c", "d", "e", "g", "h", "i" }; > Anyway, a patch is attached which adds more unit tests, and modifies IndexedSliceReader.IndexedBlockFetcher & IndexedSliceReader.SimpleBlockFetcher -- This message was sent by Atlassian JIRA (v6.1#6144)