marsupialtail commented on code in PR #13931:
URL: https://github.com/apache/arrow/pull/13931#discussion_r968579855
##########
cpp/src/arrow/io/interfaces.h:
##########
@@ -343,5 +344,9 @@ ARROW_EXPORT
Result<Iterator<std::shared_ptr<Buffer>>> MakeInputStreamIterator(
std::shared_ptr<InputStream> stream, int64_t block_size);
+ARROW_EXPORT
+Result<AsyncGenerator<std::shared_ptr<Buffer>>> MakeRandomAccessFileGenerator(
Review Comment:
This sounds like a separate PR.
I think it is only beneficial if the downstream processing logic can keep up
with the increased IO rate. That said I think it probably is the common case
for reading from S3/GCS. I don't know what `OpenInputStream` in the filesystem
interface is used for so I can't comment.
--
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]