mirror of
https://github.com/minio/minio.git
synced 2025-01-24 05:03:16 -05:00
c1a17c2561
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.