You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mike Adamson (JIRA)" <ji...@apache.org> on 2014/08/12 13:03:12 UTC

[jira] [Issue Comment Deleted] (CASSANDRA-7726) Give CRR a default input_cql Statement

     [ https://issues.apache.org/jira/browse/CASSANDRA-7726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Adamson updated CASSANDRA-7726:
------------------------------------

    Comment: was deleted

(was: So having tested this there are a couple of changes needed to make it work properly. I've attached a new version of the patch that works. Can this be committed? or does it need a new jira?)

> 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.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)