SHIMA Tatsuya created ARROW-15828: ------------------------------------- Summary: [R] ChunkedArray$cast() combine multiple arrays into one Key: ARROW-15828 URL: https://issues.apache.org/jira/browse/ARROW-15828 Project: Apache Arrow Issue Type: Bug Components: R Affects Versions: 7.0.0 Reporter: SHIMA Tatsuya
It appears that if I try to cast to int or float, the array will be one. {code:r} library(arrow, warn.conflicts = FALSE) #> See arrow_info() for available features chunked_array(1:2, 3:4, 5:6)$cast(string()) #> ChunkedArray #> [ #> [ #> "1", #> "2" #> ], #> [ #> "3", #> "4" #> ], #> [ #> "5", #> "6" #> ] #> ] chunked_array(1:2, 3:4, 5:6)$cast(float64()) #> ChunkedArray #> [ #> [ #> 1, #> 2, #> 3, #> 4, #> 5, #> 6 #> ] #> ] chunked_array(1:2, 3:4, 5:6)$cast(int64()) #> ChunkedArray #> [ #> [ #> 1, #> 2, #> 3, #> 4, #> 5, #> 6 #> ] #> ] chunked_array(1:2, 3:4, 5:6)$cast(date32()) #> ChunkedArray #> [ #> [ #> 1970-01-02, #> 1970-01-03 #> ], #> [ #> 1970-01-04, #> 1970-01-05 #> ], #> [ #> 1970-01-06, #> 1970-01-07 #> ] #> ] {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)