Re: Pls, help with fetching of super-column's value

2009-08-19 Thread Jonathan Ellis
2009/8/19 Teodor Sigaev teo...@sigaev.ru: It produces following error messages $VAR1 = 'Can\'t use string (0) as a SCALAR ref while strict refs in use at /usr/lib/perl5/site_perl/5.8.8/Thrift/BinaryProtocol.pm line 376.' If it's objecting to the 0 in reversed=0, it sounds like a perl specific

Re: Pls, help with fetching of super-column's value

2009-08-19 Thread Jonathan Ellis
2009/8/19 Teodor Sigaev teo...@sigaev.ru: If it's objecting to the 0 in reversed=0, it sounds like a perl specific problem -- why would it be turning that into a string? It seems to me that it isn't connected to reversed. I changed to 1 and nothing was changed. Dunno, then. Bug in the

Re: Pls, help with fetching of super-column's value

2009-08-19 Thread Evan Weaver
In the Ruby Thrift it expects a boolean, FYI. Maybe the 0 is false Perlism is shortcircuited? 2009/8/19 Teodor Sigaev teo...@sigaev.ru: If it's objecting to the 0 in reversed=0, it sounds like a perl specific problem -- why would it be turning that into a string? It seems to me that it isn't

Re: Pls, help with fetching of super-column's value

2009-08-19 Thread Teodor Sigaev
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(

Re: Pls, help with fetching of super-column's value

2009-08-19 Thread Jonathan Ellis
2009/8/19 Teodor Sigaev teo...@sigaev.ru: 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. it's not supposed to.

Re: Pls, help with fetching of super-column's value

2009-08-19 Thread Michael Greene
start and finish in SliceRange are non-optional. Try empty strings. 2009/8/19 Teodor Sigaev teo...@sigaev.ru: Some more news, I added printing of stack trace to perl's client, and I see that problem is in getting answer from server, not in sending. It breaks on reading of exception

Re: Pls, help with fetching of super-column's value

2009-08-19 Thread Teodor Sigaev
start and finish in SliceRange are non-optional. Try empty strings. This is a partial fix :) - it works and doesn't emit any exception but returns nothing. -- Teodor Sigaev E-mail: teo...@sigaev.ru WWW:

Re: Pls, help with fetching of super-column's value

2009-08-19 Thread Drew Schleck
Try setting start to and end to ~. This is what I did to fix Lazyboy and it seems to work alright for now. 2009/8/19 Teodor Sigaev teo...@sigaev.ru: start and finish in SliceRange are non-optional. Try empty strings. This is a partial fix :) - it works and doesn't emit any exception but