mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Add datetime test
This commit is contained in:
parent
f5816c27aa
commit
17a560cca7
@ -39,6 +39,8 @@
|
||||
1970-01-20
|
||||
1970-01-20
|
||||
1970-01-20
|
||||
2149-06-06
|
||||
1970-01-01
|
||||
2023-05-30
|
||||
2023-05-30
|
||||
2023-05-30 14:38:20
|
||||
|
@ -53,6 +53,9 @@ select toDateOrDefault(cast(19 as UInt128));
|
||||
select toDateOrDefault(cast(19 as Int256));
|
||||
select toDateOrDefault(cast(19 as UInt256));
|
||||
|
||||
select toDateOrDefault(65535);
|
||||
select toDateOrDefault(65536);
|
||||
|
||||
select toDateOrDefault(19507, '2000-01-01'::Date);
|
||||
select toDateOrDefault(-1, '2023-05-30'::Date);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user