The goal is actually getting the rows in the range of "start","end"

The order is not important at all.

But what I can see is, this does not seem to be possible at all using RP. Am
I wrong?

On Thu, Oct 21, 2010 at 6:03 PM, Tyler Hobbs <ty...@riptano.com> wrote:

> You can't get rows back in order with RP.
>
> You can start out with a start key and end key of '' (empty) and use the
> row count argument instead, if
> your goal is paging the rows.  To get the next page, start from the last
> key you got in the
> previous page.
>
>
> On Thu, Oct 21, 2010 at 8:44 AM, Utku Can Topçu <u...@topcu.gen.tr> wrote:
>
>> If I'm not mistaken cassandra has been providing support for keyrange
>> queries also on RP.
>>
>> However when I try to define a keyrange such as, start: (key100, end:
>> key200) I get an error like:
>> InvalidRequestException(why:start key's md5 sorts after end key's md5.
>> this is not allowed; you probably should not specify end key at all, under
>> RandomPartitioner)
>>
>> How can I utilize cassandra to get a keyrange in RP?
>>
>> Best Regards,
>> Utku
>>
>
>

Reply via email to