Uh oh!
There was an error while loading. Please reload this page.
ARROW-9870: [R] Friendly interface for filesystems (S3) - #8351
ARROW-9870: [R] Friendly interface for filesystems (S3)#8351nealrichardson wants to merge 16 commits into
Conversation
bkietz
left a comment
There was a problem hiding this comment.
This looks like a nice improvement in concision. A few comments and lots of wording suggestions
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Benjamin Kietzman <bengilgit@gmail.com>
SubTreeFileSystemclass to represent a filesystem+path (since that's what it contains already) and wire that up in the file/dataset reader/writer functions that in a recent PR all got afilesystemargument added to their signatures (removing the extra argument). AddFileSystem$path(string)helper method to create a STFS, and recommend that as the way to pass a filesystem+path to those functions. I recognize that this is an abuse of STFS and will revisit in the future (ARROW-10254), but for now, this yields an improved interface.s3_bucket()as a function to create a STFS containing anS3FileSystemand the bucket's path, which also takes advantage of FileSystemFromUri's ability to auto-detect the bucket's region while also allowing you to specify extra S3Options for authentication etc.copy_files()to take these inputsFileSystem$ls()as convenience over FileSelector + GetFileInfo etc.