ClickHouse/tests/queries/0_stateless/01702_toDateTime_from_string_clamping.reference
2021-03-02 15:55:17 +02:00

10 lines
341 B
Plaintext

-- { echo }
SELECT toString(toDateTime('-922337203.6854775808', 1));
1940-10-09 22:13:17.6
SELECT toString(toDateTime('9922337203.6854775808', 1));
1925-07-26 00:46:43.6
SELECT toDateTime64(CAST('10000000000.1' AS Decimal64(1)), 1);
1928-01-11 00:46:40.1
SELECT toDateTime64(CAST('-10000000000.1' AS Decimal64(1)), 1);
2011-12-22 00:13:20.1