Repository navigation
Conversation
|
This may need a rethink; while the original intent was to mirror the fs API, given we have different parameters for the functions here and want to just create thin wrappers to the Arrow Filesystem API instead of the extra work of mapping functions to their equivalents, perhaps the differences could create confusion and we'd be better off with our own API instead? Perhaps for simplicity we just mirror the Arrow C++ API names, e.g. the wrapper for |
| fs_open_output_stream <- function(fs, path, append = FALSE){ | ||
| if (append) { | ||
| fs$OpenAppendStream(path) | ||
| } else { | ||
| fs$OpenOutputStream(path) | ||
| } | ||
| } | ||
|
|
||
| # TODO: create method close.OutputStream (or whatever object returned from bucket$OpenAppendStream) |
There was a problem hiding this comment.
This won't work and is mixing approaches
|
Closing this as this isn't a great solution as it'd complicate our API |
Rationale for this change
Add wrapper functions to our
What changes are included in this PR?
Add the following functions:
TODO:
tests
implement
close.OutputStream()as a wrapper around theclose()methodupdate the docs to reflect the new functions
Are these changes tested?
Are there any user-facing changes?