Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
If you create an empty array and use the `Sum` methods in the math package for the Go version, they will panic with an `index out of range` error.
The reproducers can be found in this file: https://github.com/influxdata/flux/blob/6ddfc0f235f91fa29562e7163ab9858f3d08cc62/arrow/arrow_test.go
If you remove the `Skip`, the tests will cause a panic. I added them to our repository so we could track when this was fixed and remove our own length checks.
Attachments
Issue Links
- links to