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

5 lines
309 B
MySQL
Raw Normal View History

2022-03-11 23:45:26 +00:00
SELECT toString(toDateTime('-922337203.6854775808', 1, 'Asia/Istanbul'));
SELECT toString(toDateTime('9922337203.6854775808', 1, 'Asia/Istanbul'));
SELECT toDateTime64(CAST('10000000000.1' AS Decimal64(1)), 1, 'Asia/Istanbul');
SELECT toDateTime64(CAST('-10000000000.1' AS Decimal64(1)), 1, 'Asia/Istanbul');