nealrichardson commented on issue #37762: URL: https://github.com/apache/arrow/issues/37762#issuecomment-1724002604
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. -- 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]
