[
https://issues.apache.org/jira/browse/ARROW-4081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-4081:
----------------------------------
Labels: pull-request-available (was: )
> [Go] Sum methods on Mac OS X panic when the array is empty
> ----------------------------------------------------------
>
> Key: ARROW-4081
> URL: https://issues.apache.org/jira/browse/ARROW-4081
> Project: Apache Arrow
> Issue Type: Bug
> Components: Go
> Reporter: Jonathan A Sternberg
> Priority: Major
> Labels: pull-request-available
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)