ClickHouse/tests/queries/0_stateless/01668_avg_weighted_ubsan.reference
tavplubix 6c16348faa
Fix division by zero in avgWeighted with Decimal argument (#32303)
* fix division by zero

* Update src/AggregateFunctions/AggregateFunctionAvg.h

Co-authored-by: Dmitry Novik <n0vik@clickhouse.com>

* remove trash

* Update AggregateFunctionAvg.h

Co-authored-by: Dmitry Novik <n0vik@clickhouse.com>
2021-12-07 13:32:26 +03:00

15 lines
37 B
Plaintext

-0
nan
nan
1
2
3
4
5
6
7
8
9
nan
nan