ClickHouse/tests/queries/0_stateless/01702_toDateTime_from_string_clamping.reference
Alexey Milovidov f48bf2aaba Fix issue
2021-03-15 23:29:35 +03: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));
2283-11-11 23:46:43.6
SELECT toDateTime64(CAST('10000000000.1' AS Decimal64(1)), 1);
2283-11-11 23:46:40.1
SELECT toDateTime64(CAST('-10000000000.1' AS Decimal64(1)), 1);
1925-01-01 00:00:00.1