[ https://issues.apache.org/jira/browse/ARROW-18236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicola Crane updated ARROW-18236: --------------------------------- Parent Issue: ARROW-18352 (was: ARROW-18215) > [R] Improve error message when providing a mix of readr 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 > Priority: Major > > 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)