ClickHouse/tests/queries/0_stateless/01676_round_int_ubsan.sql
2021-01-29 04:03:38 +03:00

7 lines
315 B
SQL

-- Overflow during integer rounding is implementation specific behaviour.
-- This test allows to be aware if the impkementation changes.
-- Changing the implementation specific behaviour is Ok.
-- and should not be treat as incompatibility (simply update test result then).
SELECT round(-9223372036854775808, -2);