You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/10/21 11:06:00 UTC
[jira] [Updated] (ARROW-14412) [R] Better error handling for
flight_put() when data arg object is wrong type
[ https://issues.apache.org/jira/browse/ARROW-14412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-14412:
-----------------------------------
Labels: pull-request-available (was: )
> [R] Better error handling for flight_put() when data arg object is wrong type
> -----------------------------------------------------------------------------
>
> Key: ARROW-14412
> URL: https://issues.apache.org/jira/browse/ARROW-14412
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Nicola Crane
> Assignee: Nicola Crane
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{data}} arg should not be a Dataset object
> {code:r}
> # connect to post where Flight server is running
> local_client <- flight_connect(host = "127.0.0.1", port = 8089)
> # write data to partitioned file
> write_dataset(mtcars, "cars_data", format = "parquet", partitioning = "cyl")
> cars_dataset <- open_dataset("cars_data")
> # Send the data
> flight_put(
> local_client,
> data = cars_dataset,
> path = "cars_data"
> )
> Error in r_to_py_impl(x, convert = convert) :
> Unable to convert R object to Python type
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)