Open csgillespie opened 1 year ago
Thanks for reporting this @csgillespie!
FWIW if you use read.csv()
or readr::read_csv()
on that file, both will fill in a non-empty name for the first column ("X"
and "...1"
, respectively). Not saying we should copy that, but that would be one reason they would not error if you tried the same on a data.frame version of this.
Not sure where exactly we should check this since it's technically not invalid in Arrow. And unfortunately it's not trivial to fix either once you've read it in. dplyr::rename()
doesn't seem to let you rename an empty name. names<-.Dataset
is not implemented, though it could be. You can do names(ds$schema)[1] <- "not_empty"
and that does work, though clearly suboptimal.
Describe the bug, including details regarding any error messages, version, and platform.
The following fails
This is due to the first column having no column name.
Component(s)
R