mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +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');
|
||||
SELECT * FROM t ORDER BY i;
|
||||
|
||||
SELECT toDateTime64(1111111111.222, 3);
|
||||
SELECT toDateTime64('1111111111.222', 3);
|
||||
SELECT toDateTime64('1111111111222', 3);
|
||||
SELECT ignore(toDateTime64(1111111111222, 3)); -- This gives somewhat correct but unexpected result
|
||||
SELECT toDateTime64(1111111111.222, 3, 'Europe/Moscow');
|
||||
SELECT toDateTime64('1111111111.222', 3, 'Europe/Moscow');
|
||||
SELECT toDateTime64('1111111111222', 3, 'Europe/Moscow');
|
||||
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
|
||||
SELECT toDateTime(1111111111.222, 3);
|
||||
2005-03-18 04:58:31.222
|
||||
SELECT toDateTime64(1111111111.222, 3);
|
||||
2005-03-18 04:58:31.222
|
||||
|
@ -1,4 +1,3 @@
|
||||
-- { echo }
|
||||
SELECT CAST(1111111111.222 AS DateTime64(3));
|
||||
SELECT toDateTime(1111111111.222, 3);
|
||||
SELECT toDateTime64(1111111111.222, 3);
|
||||
SELECT CAST(1111111111.222 AS DateTime64(3, 'Europe/Moscow'));
|
||||
SELECT toDateTime(1111111111.222, 3, 'Europe/Moscow');
|
||||
SELECT toDateTime64(1111111111.222, 3, 'Europe/Moscow');
|
||||
|
Loading…
Reference in New Issue
Block a user