Nicola Crane created ARROW-18356: ------------------------------------ Summary: [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
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)