ClickHouse/tests/queries/0_stateless/02507_to_unix_timestamp_overflow.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
178 B
MySQL
Raw Normal View History

2022-12-18 05:45:16 +00:00
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'));