Re: CF Comparator type and get_slice

2012-01-25 Thread Jianhui Zhang
dra.apache.org Sent: Tuesday, January 24, 2012 8:19 PM Subject: CF Comparator type and get_slice I suppose that a CF Comparator type is used to sort the columns based on its type, right? So, let's suppose I have two columns: 1, 3. If I insert column 2 I will end up with 1, 2, 3, o

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.

CF Comparator type and get_slice

2012-01-24 Thread Gustavo Gustavo
I suppose that a CF Comparator type is used to sort the columns based on its type, right? So, let's suppose I have two columns: 1, 3. If I insert column 2 I will end up with 1, 2, 3, ok? I'm using the default BytesType as the Comparator type to store time series columns (actually the value is a C#