nealrichardson commented on PR #13577:
URL: https://github.com/apache/arrow/pull/13577#issuecomment-1182388739

   > Hmm, `SubTreeFilesystem` is meant to take a subdirectory parameter, you 
are not expected to use it to pass a filename.
   
   Historical context: ARROW-10254, which points to 
https://github.com/apache/arrow/pull/8351#discussion_r501252247
   
   We could have the single-file writers (perhaps the readers too) in R prune a 
possible trailing slash from filenames, if this is the only source of the 
issue. That logic is pretty well encapsulated in `make_readable_file()` and 
`make_output_stream()` so it should be feasible to do. Shouldn't be a concern 
for write_dataset/open_dataset since they point at directories.


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