2

For Example cqlsh query:

 select * from table where eventtime >= '2015-06-02 06:30:00+0530' and eventtime <= '2015-06-02 09:30:00+0530';

output is comming 4 rows. but in case of change the

 eventtime >'2015-06-02 06:30:00+0530' and eventtime <= '2015-06-02 09:30:00+0530';

also getting same result(4 rows). but i need 3 rows. where eventtime type is "timestamp"

sk1007
  • 571
  • 3
  • 11
  • 30

1 Answers1

3

The internal storage of timestamp has millisecond precision, which isn't shown by default. See more information here and here.

Community
  • 1
  • 1
Jim Meyer
  • 9,275
  • 1
  • 24
  • 49