ClickHouse/tests/queries/0_stateless/01664_decimal_ubsan.sql

3 lines
109 B
SQL

-- { echo }
SELECT sumWithOverflow(a - 65537) FROM (SELECT cast(number AS Decimal32(4)) a FROM numbers(10));