Re: CF Comparator type and get_slice

2012-01-25 Thread Jianhui Zhang
BytesType sorts values in byte order. That is: "2" (byte 50) is bigger than "10" (byte 49 48). It may or may not be relevant to your problem, depending on your column names and the inputs. James From: Gustavo Gustavo To: user@cassandra.apache.org Sent:

Re: CF Comparator type and get_slice

2012-01-25 Thread aaron morton
What are the column names you are getting back and the the byte values you are using in the start and from. My guess is it's a serialization thing, try using an IntegerType in cassandra and have your client serialise the ticks long for you. If that works then work back to see whats going on.