[
https://issues.apache.org/jira/browse/ARROW-14456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicola Crane closed ARROW-14456.
--------------------------------
Resolution: Not A Problem
Syntax was wrong, should have been:
{{pa$concat_tables(tables = list(table_1, table_2))}}
> [R] Tables converted to ChunkedArrays when using pyarrow from R
> ---------------------------------------------------------------
>
> Key: ARROW-14456
> URL: https://issues.apache.org/jira/browse/ARROW-14456
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Nicola Crane
> Priority: Major
>
> {code:r}
> library(reticulate)
> pa <- import("pyarrow")
> table_1 <- Table$create(mtcars[1:5,])
> table_2 <- Table$create(mtcars[11:15,])
> pa$concat_tables(table_1, table_2)
> # Error in py_call_impl(callable, dots$args, dots$keywords) :
> # TypeError: Cannot convert pyarrow.lib.ChunkedArray to pyarrow.lib.Table
>
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)