You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Nicola Crane (Jira)" <ji...@apache.org> on 2022/11/03 11:48:00 UTC
[jira] [Created] (ARROW-18236) [R] Improve error message when providing a mix of rreadr and Arrow options
Nicola Crane created ARROW-18236:
------------------------------------
Summary: [R] Improve error message when providing a mix of rreadr and Arrow options
Key: ARROW-18236
URL: https://issues.apache.org/jira/browse/ARROW-18236
Project: Apache Arrow
Issue Type: Sub-task
Components: R
Reporter: Nicola Crane
I was trying to solve a user issue today and tried to run the following code:
{code:r}
df = tibble(x = c("a","b", "" , "d"))
write_tsv(df, "data.tsv")
open_dataset("data.tsv", format="tsv", skip_rows=1, schema=schema(x=string()), skip_empty_rows = TRUE) %>%
collect()
{code}
which gives me the error
{code:r}
Error: Use either Arrow parse options or readr parse options, not both
{code}
which is somewhat obnoxious as I have literally no context provided to know which options are being referred to and what the possible options are.
Also, like, why can't we have a mix of both? This is a totally valid use-case. I think both a code update and a more informative error message are needed here.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)