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 C5AB011ABB for ; Tue, 12 Aug 2014 17:25:16 +0000 (UTC) Received: (qmail 33269 invoked by uid 500); 12 Aug 2014 17:25:16 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 33241 invoked by uid 500); 12 Aug 2014 17:25:16 -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 33223 invoked by uid 99); 12 Aug 2014 17:25:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 17:25:16 +0000 Date: Tue, 12 Aug 2014 17:25:16 +0000 (UTC) From: "Mike Adamson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7726) Give CRR a default input_cql Statement 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-7726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094344#comment-14094344 ] Mike Adamson commented on CASSANDRA-7726: ----------------------------------------- Attached a new version of 7726-2.txt with pig test for CqlRecordReader > Give CRR a default input_cql Statement > -------------------------------------- > > Key: CASSANDRA-7726 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7726 > Project: Cassandra > Issue Type: Improvement > Components: Hadoop > Reporter: Russell Alexander Spitzer > Assignee: Mike Adamson > Fix For: 2.0.10, 2.1.0 > > Attachments: 7726-2.txt, 7726.txt > > > Inorder to ease migration from CqlPagingRecordReader to CqlRecordReader, it would be helpful if CRR input_cql defaulted to a select statement that would mirror the behavior of CPRR. > For example for a give table with partition key `((x,y,z),c1,c2)` > It would automatically generate > {code} > input_cql = SELECT * FROM ks.tab WHERE token(x,y,z) > ? AND token (x,y,z) <= ? > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)