ClickHouse/tests/queries/0_stateless/01702_toDateTime_from_string_clamping.sql
Alexey Milovidov 4587ddaeeb Fix test
2021-07-18 18:02:31 +03:00

5 lines
309 B
SQL

SELECT toString(toDateTime('-922337203.6854775808', 1, 'Europe/Moscow'));
SELECT toString(toDateTime('9922337203.6854775808', 1, 'Europe/Moscow'));
SELECT toDateTime64(CAST('10000000000.1' AS Decimal64(1)), 1, 'Europe/Moscow');
SELECT toDateTime64(CAST('-10000000000.1' AS Decimal64(1)), 1, 'Europe/Moscow');