Details
Description
CQLSH is not adding the timezone offset to the timestamp after it has been inserted into a table.
create table test(id int PRIMARY KEY, time timestamp);
INSERT INTO test(id,time) values (1,dateof(now()));
select *from test;
id | time
---+--------------------
1 | 2015-09-25 13:00:32
It is just displaying the default UTC timestamp without adding the timezone offset. It should be 2015-09-25 21:00:32 in my case as my timezone offset is +0800.
Attachments
Attachments
Issue Links
- breaks
-
CASSANDRA-11184 cqlsh_tests.py:TestCqlsh.test_sub_second_precision is failing
- Resolved
-
CASSANDRA-11185 cqlsh_copy_tests.py:CqlshCopyTest.test_round_trip_with_sub_second_precision is failing
- Resolved
- duplicates
-
CASSANDRA-10313 cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest.test_all_datatypes_read fails locally
- Resolved
- relates to
-
CASSANDRA-10415 Fix cqlsh bugs
- Resolved
- links to