Added test for fixed bad behaviour [#CLICKHOUSE-2765]. https://github.com/yandex/ClickHouse/pull/183#discussion_r87731018

This commit is contained in:
Alexey Milovidov 2017-01-22 16:24:50 +03:00
parent 25d87ff135
commit 579667cef3
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,7 @@
1301146200 2011-03-27 00:30:00
1301148000 2011-03-27 01:00:00
1301149800 2011-03-27 01:30:00
1301151600 2011-03-27 02:00:00
1301153400 2011-03-27 02:30:00
1301155200 2011-03-27 03:00:00
1301157000 2011-03-27 03:30:00

View File

@ -0,0 +1 @@
SELECT 1301146200 + 1800 * number AS ts, toString(toDateTime(ts), 'Australia/Sydney') AS time_in_sydney FROM system.numbers LIMIT 7;