timestamp as clustering key doesn't work as expected

2015-10-23 Thread Kai Wang
Hi, I use a timestamp column as the last clustering key so that I can run query like "timestamp > ... AND timestamp < ...". But it doesn't work as expected. Here is a simplified example. My table: CREATE TABLE test ( tag text, group int, timestamp timestamp, value double,

Re: timestamp as clustering key doesn't work as expected

2015-10-23 Thread Kai Wang
Jon, It's 2.1.10. I will see if I can reproduce it with a simple script. Thanks. On Fri, Oct 23, 2015 at 1:05 PM, Jon Haddad wrote: > What version of Cassandra? I can’t think of a reason why you’d see this > output. If you can reliably reproduce, this should be filed as

Re: timestamp as clustering key doesn't work as expected

2015-10-23 Thread Kai Wang
https://issues.apache.org/jira/browse/CASSANDRA-10583 On Fri, Oct 23, 2015 at 1:26 PM, Kai Wang wrote: > Jon, > > It's 2.1.10. I will see if I can reproduce it with a simple script. > > Thanks. > > On Fri, Oct 23, 2015 at 1:05 PM, Jon Haddad wrote: > >>

Re: timestamp as clustering key doesn't work as expected

2015-10-23 Thread Jon Haddad
What version of Cassandra? I can’t think of a reason why you’d see this output. If you can reliably reproduce, this should be filed as a JIRA. https://issues.apache.org/jira > On Oct 23, 2015, at 8:55 AM, Kai Wang wrote: > > Hi, > > I use a timestamp column as the last