Only date range scanning Cassandra CQL timestamp
问题 I have a table like given below. CREATE TEST( HOURLYTIME TIMESTAMP, FULLTIME TIMESTAMP, DATA TEXT, PRIMARY KEY(HOURLYTIME,FULLTIME) ) I inserted the record (2014-12-12 00:00:00,2014-12-12 00:00:01,'Hello World') I would like to search based on date time range in HOURLYTIME field which holds hourly records.When i tried with token() like select * from TEST where token(HOURLYTIME)=token('2014-12-12') to get all the records for that date it returns only for one hour record i.e for 2014-12-12 **00