You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/02/08 04:47:00 UTC

[jira] [Updated] (ARROW-4081) [Go] Sum methods on Mac OS X panic when the array is empty

     [ https://issues.apache.org/jira/browse/ARROW-4081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney updated ARROW-4081:
--------------------------------
    Summary: [Go] Sum methods on Mac OS X panic when the array is empty  (was: Sum methods on Mac OS X panic when the array is empty)

> [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
>
> 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)