csgillespie opened a new issue, #37762:
URL: https://github.com/apache/arrow/issues/37762

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The following fails
   ```
   library(arrow)
   library(dplyr)
   write.csv(sleep, "sleep.csv", row.names = TRUE)
   open_dataset("sleep.csv", format = "csv") |>
     mutate(group = group + 1) |>
     collect()
   # Error in env_bind0(env, data) : attempt to use zero-length variable name
   ```
   This is due to the first column having no column name.
   ```
   open_dataset("sleep.csv", format = "csv") |>
      head() |>
      collect()
   # A tibble: 6 × 4
        `` extra group    ID
     <int> <dbl> <int> <int>
   1     1   0.7     1     1
   2     2  -1.6     1     2
   ```
   
   ### 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]

Reply via email to