Add datetime test

This commit is contained in:
Dmitry Kardymon 2023-06-08 09:11:02 +00:00
parent f5816c27aa
commit 17a560cca7
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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);