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 D964611617 for ; Tue, 24 Jun 2014 21:40:25 +0000 (UTC) Received: (qmail 34144 invoked by uid 500); 24 Jun 2014 21:40:25 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 34088 invoked by uid 500); 24 Jun 2014 21:40: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 33931 invoked by uid 99); 24 Jun 2014 21:40:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2014 21:40:25 +0000 Date: Tue, 24 Jun 2014 21:40:25 +0000 (UTC) From: "Paulo Motta (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Paulo Motta created CASSANDRA-7445: -------------------------------------- Summary: 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 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)