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

Kouhei Sutou reassigned ARROW-4081:
-----------------------------------

    Assignee: Alexandre Crayssac

> [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
>            Assignee: Alexandre Crayssac
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.13.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to