ClickHouse/tests/queries/0_stateless/01702_toDateTime_from_string_clamping.sql
2021-02-21 21:01:46 +03:00

6 lines
253 B
SQL

-- { echo }
SELECT toString(toDateTime('-922337203.6854775808', 1));
SELECT toString(toDateTime('9922337203.6854775808', 1));
SELECT toDateTime64(CAST('10000000000.1' AS Decimal64(1)), 1);
SELECT toDateTime64(CAST('-10000000000.1' AS Decimal64(1)), 1);