Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Go] Sum methods on Mac OS X panic when the array is empty #20675

Closed
asfimport opened this issue Dec 19, 2018 · 1 comment
Closed

[Go] Sum methods on Mac OS X panic when the array is empty #20675

asfimport opened this issue Dec 19, 2018 · 1 comment

Comments

@asfimport
Copy link
Collaborator

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.

Reporter: Jonathan A Sternberg / @jsternberg
Assignee: Alexandre Crayssac / @alexandreyc

PRs and other links:

Note: This issue was originally created as ARROW-4081. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Sebastien Binet / @sbinet:
Issue resolved by pull request 3906
#3906

@asfimport asfimport added this to the 0.13.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant