You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Commented) (JIRA)" <ji...@apache.org> on 2012/02/12 21:02:59 UTC

[jira] [Commented] (CASSANDRA-3883) CFIF WideRowIterator only returns batch size columns

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

Brandon Williams commented on CASSANDRA-3883:
---------------------------------------------

At least one problem here is that after retrieving the first page of a row, we set the startToken to the token of the last row:
{noformat}
startToken = partitioner.getTokenFactory().toString(partitioner.getToken(lastRow.key));
{noformat}

which is exclusive and thus advances to the next row, without completely paging through the first.
                
> CFIF WideRowIterator only returns batch size columns
> ----------------------------------------------------
>
>                 Key: CASSANDRA-3883
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3883
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>    Affects Versions: 1.1.0
>            Reporter: Brandon Williams
>             Fix For: 1.1.0
>
>
> Most evident with the word count, where there are 1250 'word1' items in two rows (1000 in one, 250 in another) and it counts 198 with the batch size set to 99.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira