Dunno, then.  Bug in the generated perl code?  Wouldn't be the first time.

Interesting, if column_names is added with known status ids then Cassandra returns them although it doesn't take into account reversed and count options.

                $result = $client->get_slice(
                    'Twitter',
                    $uid,
                    Cassandra::ColumnParent->new({
                        column_family=>'UserRelationships',
                        super_column=>'user_timeline',
                    }),
                    Cassandra::SlicePredicate->new({
                        column_names=>\...@statusids, #added line
                        slice_range=>Cassandra::SliceRange->new({
                            reversed=>0,
                            count=>3
                        })
                    }),
                    Cassandra::ConsistencyLevel::ONE


I install snapshot version of Thrift and regenerate Perl's interface - all is the same.

--
Teodor Sigaev                                   E-mail: [email protected]
                                                   WWW: http://www.sigaev.ru/

Reply via email to