Nic Crane created ARROW-12761:
---------------------------------
Summary: [R] Better error handling for write_to_raw
Key: ARROW-12761
URL: https://issues.apache.org/jira/browse/ARROW-12761
Project: Apache Arrow
Issue Type: Improvement
Reporter: Nic Crane
When I run this:
{code:java}
mt_array <- Array$create(mtcars)
write_to_raw(mt_array){code}
I get this error:
{code:java}
Error: schema must be a "Schema" {code}
We should add a manual check of the type of the input that returns a more
informative error message if the object is not a data.frame, RecordBatch or
Table
--
This message was sent by Atlassian Jira
(v8.3.4#803005)