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 4558511BD6 for ; Wed, 25 Jun 2014 22:40:26 +0000 (UTC) Received: (qmail 66078 invoked by uid 500); 25 Jun 2014 22:40:26 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 66006 invoked by uid 500); 25 Jun 2014 22:40:26 -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 65730 invoked by uid 99); 25 Jun 2014 22:40:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2014 22:40:25 +0000 Date: Wed, 25 Jun 2014 22:40:25 +0000 (UTC) From: "Paulo Motta (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7445) Support Thrift tables clustering columns on CqlPagingInputFormat 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-7445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paulo Motta updated CASSANDRA-7445: ----------------------------------- Attachment: 1.2-CASSANDRA-7445-withPigTests.txt Patch attached with Pig unit test for thrift tables with fake clustering keys. > Support Thrift tables clustering columns on CqlPagingInputFormat > ---------------------------------------------------------------- > > Key: CASSANDRA-7445 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7445 > Project: Cassandra > Issue Type: Bug > Components: Hadoop > Reporter: Paulo Motta > Assignee: Paulo Motta > Fix For: 1.2.17 > > Attachments: 1.2-CASSANDRA-7445-withPigTests.txt, 1.2-CASSANDRA-7445.txt > > > CASSANDRA-5752 introduced support to thrift tables on CQLPagingInputFormat via the retrieveKeysForThriftTables() method. > However, this method only retrieves partition keys from CFMetaData, so clustering columns are ignored. > So, when the RowIterator tries to fetch the next page of a wide-row thrift CF, it ignores the clustering column altogether, going to the next partition token. So, only cassandra.input.page.row.size CQL rows are retrieved for each partition key. > CqlRecordWriter had the same issue and was fixed on bcfe352ea6ed3786f274b90191f988210360689d (CASSANDRA-5718). -- This message was sent by Atlassian JIRA (v6.2#6252)