ClickHouse/tests/queries/0_stateless/01702_toDateTime_from_string_clamping.sql

5 lines
309 B
MySQL
Raw Normal View History

2021-07-18 15:02:31 +00:00
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');