ClickHouse/docs/en/agg_functions
Marek Vavruša e936c4d066 AggregateFunctionSum: implemented sumWithOverflow(x)
By default sum(x) promotes the result type to
largest possible integral type to avoid
arithmetic overflow when summing values from
smaller data types.

This is generally desirable behaviour, but it doesn’t
work with summing merge tree, as the result is
expected to be of same type as the input.
2017-10-25 22:21:59 +03:00
..
index.rst AggregateFunctionSum: implemented sumWithOverflow(x) 2017-10-25 22:21:59 +03:00