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 2022/11/22 18:14:00 UTC

[jira] [Updated] (ARROW-18356) [R] Handle as_data_frame argument if passed into open_dataset for CSVs

     [ https://issues.apache.org/jira/browse/ARROW-18356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicola Crane updated ARROW-18356:
---------------------------------
    Labels: good-first-issue  (was: )

> [R] Handle as_data_frame argument if passed into open_dataset for CSVs
> ----------------------------------------------------------------------
>
>                 Key: ARROW-18356
>                 URL: https://issues.apache.org/jira/browse/ARROW-18356
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: R
>            Reporter: Nicola Crane
>            Priority: Major
>              Labels: good-first-issue
>
> Currently, if the argument {{as_data_frame}} is passed into {{open_dataset()}} with a CSV format dataset, the error message returned is:
> {code:r}
> Error: The following option is supported in "read_delim_arrow" functions but not yet supported here: "as_data_frame"
> {code}
> Instead, we could silently ignore it if as_data_frame is set to {{FALSE}} and give a more helpful error if set to {{TRUE}} (i.e. direct user to call {{as.data.frame()}} or {{collect()}}).
> Reasoning: it'd be great to get to a point where users can just swap their {{read_csv_arrow()}} syntax for {{open_dataset()}} and get helpful results.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)