ClickHouse/tests/queries/0_stateless/01773_datetime64_add_ubsan.sql
2024-05-30 19:41:08 +00:00

3 lines
149 B
SQL

-- The result is unspecified but UBSan should not argue.
SELECT ignore(addHours(now64(3), inf)) FROM numbers(2); -- { serverError DECIMAL_OVERFLOW }