cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3883) CFIF WideRowIterator only returns batch size columns
Date Tue, 14 Feb 2012 17:26:00 GMT

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

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

There's no sane way to do this with get_paged_slice as it currently is.  We can do the extra
rpc to determine if we're at the end of a row, but then we can end up in an ugly situation
where there's only one or two more columns outside of the batch size, but when we slice those
on the next iteration those are the only columns we can return because our slice predicate
is invalid for anything else; even if we happen to get a full batch back.
                
> 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
>            Assignee: Brandon Williams
>             Fix For: 1.1.0
>
>         Attachments: 3883-v1.txt
>
>
> 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

        

Mime
View raw message