cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mck SembWever (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (CASSANDRA-1125) Filter out ColumnFamily rows that aren't part of the query
Date Thu, 23 Jun 2011 08:01:49 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053467#comment-13053467
] 

Mck SembWever edited comment on CASSANDRA-1125 at 6/23/11 8:01 AM:
-------------------------------------------------------------------

For now (without CASSANDRA-1600) I can use a {{KeyRange}} and {{Range.intersectionWith(..)}}
for start/end rowKey limits in CFIF.

To upgrade from KeyRange to IndexClause (once it contains an optional KeyRange field) can
be easily enough done latter by replacing ConfigHelper.setInputKeyRange(..) to ConfigHelper.setInputIndexClause(..)
and rewriting the two lines of code in CFRR's RowIterator.maybeInit(..) 


      was (Author: michaelsembwever):
    For now (without CASSANDRA-1600) I can use a {{KeyRange}} and {{Range.intersectionWith(..)}}
for start/end rowKey limits in CFIF.

To upgrade from KeyRange to IndexClause (once it contains an optional KeyRange field) can
be easily enough done latter by replacing ConfigHelper.setInputKeyRange(..) to ConfigHelper.setInputIndexClause(..)
and rewriting the code two lines of code in CFRR's RowIterator.maybeInit(..) 

  
> Filter out ColumnFamily rows that aren't part of the query
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-1125
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1125
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Hadoop
>            Reporter: Jeremy Hanna
>            Assignee: Mck SembWever
>            Priority: Minor
>             Fix For: 1.0
>
>
> Currently, when running a MapReduce job against data in a Cassandra data store, it reads
through all the data for a particular ColumnFamily.  This could be optimized to only read
through those rows that have to do with the query.
> It's a small change but wanted to put it in Jira so that it didn't fall through the cracks.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message