thisisnic opened a new issue, #34609:
URL: https://github.com/apache/arrow/issues/34609
### Describe the bug, including details regarding any error messages,
version, and platform.
I'm fairly sure this isn't supported anyway, and so we should add in some
validation so we get a better error message.
``` r
library(arrow)
tf <- tempfile()
dir.create(tf)
arrow::write_csv_arrow(mtcars, file.path(tf, "mtcars.csv"))
arrow::write_parquet(mtcars, file.path(tf, "mtcars.parquet"))
schema <- schema(mpg = float64(), cyl = int64(), disp = float64(), hp =
int64(),
drat = float64(), wt = float64(), qsec = float64(), vs = int64(),
am = int64(), gear = int64(), carb = int64())
csv_dataset <-
open_dataset(tf,
format = "csv",
factory_options = list(exclude_invalid_files = TRUE),
schema = schema)
parquet_dataset <-
open_dataset(tf,
format = "parquet",
factory_options = list(exclude_invalid_files = TRUE), schema
= schema)
open_dataset(c(csv_dataset, parquet_dataset))
#> Error: x is not a character vector
```
<sup>Created on 2023-03-17 with [reprex
v2.0.2](https://reprex.tidyverse.org)</sup>
### Component(s)
R
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]