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

ARROW-10125: [R] Int64 downcast check doesn't consider all chunks #8292

Closed

Conversation

nealrichardson
Copy link
Member

The ArraysCanFitInteger function was erroneously exiting the loop over all chunks early after the first true was found, rather than bailing on the first false. All chunks need to fit in order to be able to downcast.

@github-actions
Copy link

@kdkavanagh
Copy link

Thanks for the quick fix @nealrichardson

@nealrichardson nealrichardson deleted the r-fix-int64-downcast branch September 29, 2020 15:19
kszucs pushed a commit to kszucs/arrow that referenced this pull request Oct 1, 2020
The ArraysCanFitInteger function was erroneously exiting the loop over all chunks early after the first `true` was found, rather than bailing on the first `false`. All chunks need to fit in order to be able to downcast.

Closes apache#8292 from nealrichardson/r-fix-int64-downcast

Authored-by: Neal Richardson <neal.p.richardson@gmail.com>
Signed-off-by: Neal Richardson <neal.p.richardson@gmail.com>
emkornfield pushed a commit to emkornfield/arrow that referenced this pull request Oct 16, 2020
The ArraysCanFitInteger function was erroneously exiting the loop over all chunks early after the first `true` was found, rather than bailing on the first `false`. All chunks need to fit in order to be able to downcast.

Closes apache#8292 from nealrichardson/r-fix-int64-downcast

Authored-by: Neal Richardson <neal.p.richardson@gmail.com>
Signed-off-by: Neal Richardson <neal.p.richardson@gmail.com>
GeorgeAp pushed a commit to sirensolutions/arrow that referenced this pull request Jun 7, 2021
The ArraysCanFitInteger function was erroneously exiting the loop over all chunks early after the first `true` was found, rather than bailing on the first `false`. All chunks need to fit in order to be able to downcast.

Closes apache#8292 from nealrichardson/r-fix-int64-downcast

Authored-by: Neal Richardson <neal.p.richardson@gmail.com>
Signed-off-by: Neal Richardson <neal.p.richardson@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants