mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix and improve test
This commit is contained in:
parent
4587ddaeeb
commit
ad4c6a63e1
@ -1,9 +1,5 @@
|
|||||||
-- { echo }
|
|
||||||
select toDateTime64(toDateTime(1), 2);
|
|
||||||
1970-01-01 03:00:01.00
|
1970-01-01 03:00:01.00
|
||||||
select toDateTime64(toDate(1), 2);
|
1970-01-01 03:00:01.00
|
||||||
1970-01-02 00:00:00.00
|
1970-01-02 00:00:00.00
|
||||||
select toDateTime64(toDateTime(1), 2, 'GMT');
|
|
||||||
1970-01-01 00:00:01.00
|
1970-01-01 00:00:01.00
|
||||||
select toDateTime64(toDate(1), 2, 'GMT');
|
|
||||||
1970-01-02 00:00:00.00
|
1970-01-02 00:00:00.00
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
-- { echo }
|
select toDateTime64(toDateTime(1, 'Europe/Moscow'), 2);
|
||||||
select toDateTime64(toDateTime(1), 2);
|
select toDateTime64(toDate(1), 2) FORMAT Null; -- Unknown timezone
|
||||||
select toDateTime64(toDate(1), 2);
|
select toDateTime64(toDateTime(1), 2) FORMAT Null; -- Unknown timezone
|
||||||
|
select toDateTime64(toDateTime(1), 2, 'Europe/Moscow');
|
||||||
|
select toDateTime64(toDate(1), 2, 'Europe/Moscow');
|
||||||
select toDateTime64(toDateTime(1), 2, 'GMT');
|
select toDateTime64(toDateTime(1), 2, 'GMT');
|
||||||
select toDateTime64(toDate(1), 2, 'GMT');
|
select toDateTime64(toDate(1), 2, 'GMT');
|
||||||
|
Loading…
Reference in New Issue
Block a user