cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-356) Count parameter has no effect on subcolumns.
Date Tue, 11 Aug 2009 12:59:15 GMT

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

Hudson commented on CASSANDRA-356:
----------------------------------

Integrated in Cassandra #164 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/164/])
    use the existing collectReducedColumns api to make subcolumn slices conform as expected
to filter semantics
patch by jbellis; reviewed by Evan Weaver for 
rename, clean up collectColumns methods
patch by jbellis; reviewed by Evan Weaver for 


> Count parameter has no effect on subcolumns.
> --------------------------------------------
>
>                 Key: CASSANDRA-356
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-356
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Evan Weaver
>            Assignee: Jonathan Ellis
>             Fix For: 0.4
>
>         Attachments: 0001-CASSANDRA-356-rename-clean-up-collectColumns-methods.txt, 0002-use-the-existing-collectReducedColumns-api-to-make-sub.txt,
0002-v2.patch, 0002-v3.patch
>
>
> I send count=1: 
> ["get_slice", "Twitter", "test_get_super_sub_keys_with_count", <CassandraThrift::ColumnParent
column_family:"StatusRelationships", super_column:"user_timelines">, <CassandraThrift::SlicePredicate
slice_range:<CassandraThrift::SliceRange start:"", finish:"", is_ascending:true, count:1>>,
1]
> The server says:
> weakreadlocal reading SliceFromReadCommand(table='Twitter', key='test_get_super_sub_keys_with_count',
column_parent='QueryPath(columnFamilyName='StatusRelationships', superColumnName='[B@3def3b56',
columnName='null')', start='', finish='', isAscending=true, count=1)
> But I get back two items:
> {[<Cassandra::UUID#13699890>,
>   "v1"]=>nil,
>  [<Cassandra::UUID#13699880>,
>   "v3"]=>nil}
> Incidentally, the debug output value for "superColumnName" is not correct.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message