Commit 11c16b4
committed
fix: WasmAggregateOperator AVG precision loss for bigint sums > 2^53
Number(bigSum) / count loses precision for sums exceeding 2^53.
Use bigIntAvg() helper (BigInt division + remainder) matching the
fix already applied to window aggregates and partial-agg.1 parent 4412fa9 commit 11c16b4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2109 | 2109 | | |
2110 | 2110 | | |
2111 | 2111 | | |
2112 | | - | |
| 2112 | + | |
2113 | 2113 | | |
2114 | 2114 | | |
2115 | 2115 | | |
| |||
0 commit comments