Add a test for #22929

This commit is contained in:
Alexey Milovidov 2022-12-18 06:45:16 +01:00
parent 2fc2fecd5d
commit 180b927065
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
-1293882467

View File

@ -0,0 +1,2 @@
SELECT toUnixTimestamp(toDateTime64('1928-12-31 12:12:12.123', 3, 'UTC')); -- { serverError DECIMAL_OVERFLOW }
SELECT toInt64(toDateTime64('1928-12-31 12:12:12.123', 3, 'UTC'));