mirror of
https://github.com/pgsty/minio.git
synced 2026-03-21 09:15:08 +01:00
Force sum/average to be calculated as a float. As noted in #8221 > run SELECT AVG(CAST (Score as int)) FROM S3Object on ``` Name,Score alice,80 bob,81 ``` > AWS S3 gives 80.5 and MinIO gives 80. This also makes overflows much more unlikely.
7.0 KiB
7.0 KiB