khwilson commented on issue #44514:
URL: https://github.com/apache/arrow/issues/44514#issuecomment-2453570112

   I _think_ setting `format = 'csv'` will solve your problem:
   
   ```R
   library(arrow)
   library(dplyr)
   
   system('mkdir foo')
   system('echo "a,b,c\n1,2,3\n" > test.csv')
   system('gzip test.csv')
   system('mv test.csv.gz foo')
   
   ds <- open_dataset('foo', format = 'csv')
   ds |> collect()
   ```
   
   This prints:
   
   ```R
   # A tibble: 1 × 3
         a     b     c
     <int> <int> <int>
   1     1     2     3
   ```


-- 
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