You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nicola Crane (Jira)" <ji...@apache.org> on 2021/10/25 19:57:00 UTC
[jira] [Resolved] (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 ]
Nicola Crane resolved ARROW-14412.
----------------------------------
Fix Version/s: 7.0.0
Resolution: Fixed
Issue resolved by pull request 11501
[https://github.com/apache/arrow/pull/11501]
> [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
> Fix For: 7.0.0
>
> Time Spent: 40m
> 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)