ClickHouse/tests/queries/0_stateless/02507_to_unix_timestamp_overflow.sql
2022-12-18 06:45:16 +01:00

3 lines
178 B
SQL

SELECT toUnixTimestamp(toDateTime64('1928-12-31 12:12:12.123', 3, 'UTC')); -- { serverError DECIMAL_OVERFLOW }
SELECT toInt64(toDateTime64('1928-12-31 12:12:12.123', 3, 'UTC'));