minio/pkg/s3select/sql
Klaus Post c1a17c2561 S3 Select: Aggregate AVG/SUM as float (#8326)
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.
2019-09-27 16:12:03 -07:00
..
jsondata Add JSON Path expression evaluation support (#7315) 2019-03-09 08:13:37 -08:00
aggregation.go S3 Select: Aggregate AVG/SUM as float (#8326) 2019-09-27 16:12:03 -07:00
analysis.go Fix s3select TRIM function's nil pointer dereference bug (#7817) 2019-06-24 16:59:33 -07:00
errors.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
evaluate.go S3 Select: optimize output (#8238) 2019-09-17 05:56:27 +05:30
funceval.go S3 Select: optimize output (#8238) 2019-09-17 05:56:27 +05:30
jsonpath.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
jsonpath_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
parser.go S3 Select: optimize output (#8238) 2019-09-17 05:56:27 +05:30
parser_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
record.go S3 select: Fix output conversion on select * (#8303) 2019-09-27 12:33:14 -07:00
statement.go S3 select: Fix output conversion on select * (#8303) 2019-09-27 12:33:14 -07:00
stringfuncs.go fix unicode support related bugs in s3select (#7877) 2019-07-05 09:43:10 -07:00
stringfuncs_test.go fix unicode support related bugs in s3select (#7877) 2019-07-05 09:43:10 -07:00
timestampfuncs.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
timestampfuncs_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
utils.go S3 Select: optimize output (#8238) 2019-09-17 05:56:27 +05:30
value.go S3 Select: Parsing tweaks (#8261) 2019-09-17 17:21:23 -07:00
value_test.go S3 Select: Parsing tweaks (#8261) 2019-09-17 17:21:23 -07:00