mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
fix
fix
This commit is contained in:
parent
f428675b6e
commit
21fcd8aece
@ -1,7 +1,7 @@
|
||||
s a b
|
||||
|
||||
0 2000-01-01 00:00:00 2000-01-01 00:00:00
|
||||
0000 2000-01-01 00:00:00 2000-01-01 00:00:00
|
||||
0 ᴺᵁᴸᴸ 1970-01-01 00:00:00
|
||||
0000 ᴺᵁᴸᴸ 1970-01-01 00:00:00
|
||||
00:00:00 2000-01-01 00:00:00 2000-01-01 00:00:00
|
||||
01:00:00 2000-01-01 01:00:00 2000-01-01 01:00:00
|
||||
02/01/17 010203 MSK 2017-01-01 22:02:03 2017-01-01 22:02:03
|
||||
|
@ -1,8 +1,8 @@
|
||||
SELECT parseDateTimeBestEffort('<Empty>'); -- { serverError 6 }
|
||||
SELECT parseDateTimeBestEffort('<Empty>'); -- { serverError 41 }
|
||||
SELECT parseDateTimeBestEffortOrNull('<Empty>');
|
||||
SELECT parseDateTimeBestEffortOrZero('<Empty>', 'UTC');
|
||||
|
||||
SELECT parseDateTime64BestEffort('<Empty>'); -- { serverError 6 }
|
||||
SELECT parseDateTime64BestEffort('<Empty>'); -- { serverError 41 }
|
||||
SELECT parseDateTime64BestEffortOrNull('<Empty>');
|
||||
SELECT parseDateTime64BestEffortOrZero('<Empty>', 0, 'UTC');
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
2020-05-14 03:37:03.253 Nullable(DateTime64(3, \'UTC\'))
|
||||
2020-05-14 06:37:03.253 Nullable(DateTime64(3, \'Europe/Minsk\'))
|
||||
2020-05-14 03:37:03.253 Nullable(DateTime64(3, \'UTC\'))
|
||||
1970-01-01 03:00:00.000 DateTime64(3)
|
||||
1970-01-01 00:00:00.000 DateTime64(3, \'UTC\')
|
||||
2020-05-14 03:37:03.000 DateTime64(3, \'UTC\')
|
||||
2020-05-14 03:37:03.000 DateTime64(3, \'UTC\')
|
||||
2020-05-14 03:37:03.253 DateTime64(3, \'UTC\')
|
||||
@ -35,7 +35,7 @@
|
||||
2020-05-14 03:37:03 Nullable(DateTime(\'UTC\'))
|
||||
2020-05-14 06:37:03 Nullable(DateTime(\'Europe/Minsk\'))
|
||||
2020-05-14 03:37:03 Nullable(DateTime(\'UTC\'))
|
||||
1970-01-01 03:00:00 DateTime
|
||||
1970-01-01 00:00:00 DateTime(\'UTC\')
|
||||
2020-05-14 03:37:03 DateTime(\'UTC\')
|
||||
2020-05-14 03:37:03 DateTime(\'UTC\')
|
||||
2020-05-14 03:37:03 DateTime(\'UTC\')
|
||||
|
@ -12,7 +12,7 @@ SELECT CAST('2020-01-01 00:00:00', 'DateTime') AS a, toTypeName(a), CAST('2020-0
|
||||
|
||||
SELECT toDateTime32('2020-01-01 00:00:00') AS a, toTypeName(a);
|
||||
|
||||
SELECT parseDateTimeBestEffort('<Empty>', 3) AS a, toTypeName(a); -- {serverError 6}
|
||||
SELECT parseDateTimeBestEffort('<Empty>', 3) AS a, toTypeName(a); -- {serverError 41}
|
||||
SELECT parseDateTimeBestEffort('2020-05-14T03:37:03', 3, 'UTC') AS a, toTypeName(a);
|
||||
SELECT parseDateTimeBestEffort('2020-05-14 03:37:03', 3, 'UTC') AS a, toTypeName(a);
|
||||
SELECT parseDateTimeBestEffort('2020-05-14T03:37:03.253184', 3, 'UTC') AS a, toTypeName(a);
|
||||
@ -28,7 +28,7 @@ SELECT parseDateTimeBestEffortOrNull('2020-05-14T03:37:03.253184Z', 3, 'UTC') AS
|
||||
SELECT parseDateTimeBestEffortOrNull('2020-05-14T03:37:03.253184Z', 3, 'Europe/Minsk') AS a, toTypeName(a);
|
||||
SELECT parseDateTimeBestEffortOrNull(materialize('2020-05-14T03:37:03.253184Z'), 3, 'UTC') AS a, toTypeName(a);
|
||||
|
||||
SELECT parseDateTimeBestEffortOrZero('<Empty>', 3) AS a, toTypeName(a);
|
||||
SELECT parseDateTimeBestEffortOrZero('<Empty>', 3, 'UTC') AS a, toTypeName(a);
|
||||
SELECT parseDateTimeBestEffortOrZero('2020-05-14T03:37:03', 3, 'UTC') AS a, toTypeName(a);
|
||||
SELECT parseDateTimeBestEffortOrZero('2020-05-14 03:37:03', 3, 'UTC') AS a, toTypeName(a);
|
||||
SELECT parseDateTimeBestEffortOrZero('2020-05-14T03:37:03.253184', 3, 'UTC') AS a, toTypeName(a);
|
||||
@ -37,7 +37,7 @@ SELECT parseDateTimeBestEffortOrZero('2020-05-14T03:37:03.253184Z', 3, 'Europe/M
|
||||
SELECT parseDateTimeBestEffortOrZero(materialize('2020-05-14T03:37:03.253184Z'), 3, 'UTC') AS a, toTypeName(a);
|
||||
|
||||
|
||||
SELECT parseDateTime32BestEffort('<Empty>') AS a, toTypeName(a); -- {serverError 6}
|
||||
SELECT parseDateTime32BestEffort('<Empty>') AS a, toTypeName(a); -- {serverError 41}
|
||||
SELECT parseDateTime32BestEffort('2020-05-14T03:37:03', 'UTC') AS a, toTypeName(a);
|
||||
SELECT parseDateTime32BestEffort('2020-05-14 03:37:03', 'UTC') AS a, toTypeName(a);
|
||||
SELECT parseDateTime32BestEffort('2020-05-14T03:37:03.253184', 'UTC') AS a, toTypeName(a);
|
||||
@ -53,7 +53,7 @@ SELECT parseDateTime32BestEffortOrNull('2020-05-14T03:37:03.253184Z', 'UTC') AS
|
||||
SELECT parseDateTime32BestEffortOrNull('2020-05-14T03:37:03.253184Z', 'Europe/Minsk') AS a, toTypeName(a);
|
||||
SELECT parseDateTime32BestEffortOrNull(materialize('2020-05-14T03:37:03.253184Z'), 'UTC') AS a, toTypeName(a);
|
||||
|
||||
SELECT parseDateTime32BestEffortOrZero('<Empty>') AS a, toTypeName(a);
|
||||
SELECT parseDateTime32BestEffortOrZero('<Empty>', 'UTC') AS a, toTypeName(a);
|
||||
SELECT parseDateTime32BestEffortOrZero('2020-05-14T03:37:03', 'UTC') AS a, toTypeName(a);
|
||||
SELECT parseDateTime32BestEffortOrZero('2020-05-14 03:37:03', 'UTC') AS a, toTypeName(a);
|
||||
SELECT parseDateTime32BestEffortOrZero('2020-05-14T03:37:03.253184', 'UTC') AS a, toTypeName(a);
|
||||
|
Loading…
Reference in New Issue
Block a user