mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Fix tests
This commit is contained in:
parent
4a74cb7cef
commit
eb134377b2
@ -5,7 +5,7 @@ INSERT INTO t VALUES (3, '1111111111222');
|
|||||||
INSERT INTO t VALUES (4, '1111111111.222');
|
INSERT INTO t VALUES (4, '1111111111.222');
|
||||||
SELECT * FROM t ORDER BY i;
|
SELECT * FROM t ORDER BY i;
|
||||||
|
|
||||||
SELECT toDateTime64(1111111111.222, 3);
|
SELECT toDateTime64(1111111111.222, 3, 'Europe/Moscow');
|
||||||
SELECT toDateTime64('1111111111.222', 3);
|
SELECT toDateTime64('1111111111.222', 3, 'Europe/Moscow');
|
||||||
SELECT toDateTime64('1111111111222', 3);
|
SELECT toDateTime64('1111111111222', 3, 'Europe/Moscow');
|
||||||
SELECT ignore(toDateTime64(1111111111222, 3)); -- This gives somewhat correct but unexpected result
|
SELECT ignore(toDateTime64(1111111111222, 3, 'Europe/Moscow')); -- This gives somewhat correct but unexpected result
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
-- { echo }
|
|
||||||
SELECT CAST(1111111111.222 AS DateTime64(3));
|
|
||||||
2005-03-18 04:58:31.222
|
2005-03-18 04:58:31.222
|
||||||
SELECT toDateTime(1111111111.222, 3);
|
|
||||||
2005-03-18 04:58:31.222
|
2005-03-18 04:58:31.222
|
||||||
SELECT toDateTime64(1111111111.222, 3);
|
|
||||||
2005-03-18 04:58:31.222
|
2005-03-18 04:58:31.222
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
-- { echo }
|
SELECT CAST(1111111111.222 AS DateTime64(3, 'Europe/Moscow'));
|
||||||
SELECT CAST(1111111111.222 AS DateTime64(3));
|
SELECT toDateTime(1111111111.222, 3, 'Europe/Moscow');
|
||||||
SELECT toDateTime(1111111111.222, 3);
|
SELECT toDateTime64(1111111111.222, 3, 'Europe/Moscow');
|
||||||
SELECT toDateTime64(1111111111.222, 3);
|
|
||||||
|
Loading…
Reference in New Issue
Block a user