That gets you keys whose MD5s are between the MD5s of start and end, which is not the same as the keys between start and end.
On Fri, Oct 22, 2010 at 2:07 AM, Oleg Anastasyev <olega...@gmail.com> wrote: >> >> 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? > > Simpler solution is just compare MD5 of both keys and set start to one with > lesser md5 and end to key with greater MD5. RandomPartitioner orders keys by > their md5, not by value. > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com