westonpace commented on code in PR #15211: URL: https://github.com/apache/arrow/pull/15211#discussion_r1067452770
########## r/tests/testthat/test-Array.R: ########## @@ -1321,3 +1321,19 @@ test_that("Array to C-interface", { delete_arrow_schema(schema_ptr) delete_arrow_array(array_ptr) }) + +test_that("direct creation of Decimal Arrays (ARROW-11631)", { Review Comment: True, you can't do proper round trip if there is no native decimals. I see now my confusion. I read `Array$create(1, type = decimal128(10, 2))` too quickly and thought it was creating an Arrow scalar from a single R value. I didn't realize it was treating `1` as an array of size 1. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org