Ian Cook created ARROW-12737:
--------------------------------
Summary: [R] Add function concat_arrays() that converts
ChunkedArray to Array
Key: ARROW-12737
URL: https://issues.apache.org/jira/browse/ARROW-12737
Project: Apache Arrow
Issue Type: Improvement
Components: R
Reporter: Ian Cook
Add a new exported function {{concat_arrays()}} that turns a {{ChunkedArray}}
into an {{Array}}. See the PyArrow function
[{{concat_arrays}}|https://arrow.apache.org/docs/python/generated/pyarrow.concat_arrays.html]
for examples of how this should work.
Also add a new R6 method {{combine_chunks()}} to the {{ChunkedArray}} class
that works like the PyArrow
[{{ChunkedArray.combine_chunks}}|https://arrow.apache.org/docs/python/generated/pyarrow.ChunkedArray.html#pyarrow.ChunkedArray.combine_chunks]
method (but probably without the MemoryPool stuff).
Note that there is an example in the "Apache Arrow in Python and R with
reticulate" vignette ({{vignettes/Python.rmd}}) the premise of which is that
the R package lacks a {{concat_arrays}} function so we should also change this
if we can come up with another good example.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)