pitrou commented on code in PR #14929:
URL: https://github.com/apache/arrow/pull/14929#discussion_r1047406958
##########
r/tests/testthat/test-Array.R:
##########
@@ -212,6 +212,15 @@ test_that("Character vectors > 2GB become large_utf8", {
expect_array_roundtrip(big, large_utf8())
})
+test_that("Arrays with length > INT_MAX can be created", {
+ skip_on_cran()
+ skip_if_not_running_large_memory_tests()
+
+ big <- raw(as.double(.Machine$integer.max) + 1)
+ big_array <- Array$create(big, type = uint8())
+ expect_identical(length(big), length(big_array))
Review Comment:
Do we want to exercise reading values from that array?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]