Skip to content

ARROW-5541 [R]: cast from negative int32 to uint32 and uint64 are now safe#4509

Closed
romainfrancois wants to merge 1 commit intoapache:masterfrom
romainfrancois:ARROW-5541/update_tests
Closed

ARROW-5541 [R]: cast from negative int32 to uint32 and uint64 are now safe#4509
romainfrancois wants to merge 1 commit intoapache:masterfrom
romainfrancois:ARROW-5541/update_tests

Conversation

@romainfrancois
Copy link
Copy Markdown
Contributor

Minor test update:

library(arrow, warn.conflicts = FALSE)

a <- array(-(1:10))
a$cast(uint32())
#> Error in Array__cast(self, target_type, options): Invalid: Integer value out of bounds
a$cast(uint64())
#> Error in Array__cast(self, target_type, options): Invalid: Integer value out of bounds

Created on 2019-06-10 by the reprex package (v0.3.0.9000)

@nealrichardson
Copy link
Copy Markdown
Member

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants