I'm trying to select timestamps columns from Cassandra 2.0 using cqlengine or cql(python), and i'm getting wrong results.
This is what i get from cqlsh ( or thrift ): "2013-09-23 00:00:00-0700"
This is what i get from cqlengine and cql itself: "\x00\x00\x01AG\x0b\xd5\xe0"
If you wanna reproduce the error, try this:
- open cqlsh
- create table test (name varchar primary key, dt timestamp)
- insert into table test ('Test', '2013-09-23 12:00') <<< Yes, i have tried to add by another ways....
- select * from test ( Here it's everything fine )
- Now go on cqlengine or cql itself and select that table and you will get a broken hexadecimal.
Thanks !
insert into test (name, dt) VALUES ('Test', '2013-09-23 12:00');
- Richard