mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 18:20:50 +00:00
4 lines
209 B
MySQL
4 lines
209 B
MySQL
|
-- Aggregate function 'sum' allows overflow with two's complement arithmetics.
|
||
|
-- This contradicts the standard SQL semantic and we are totally fine with it.
|
||
|
SELECT sum(-8000000000000000000) FROM numbers(11);
|