aucahuasi commented on code in PR #14747:
URL: https://github.com/apache/arrow/pull/14747#discussion_r1034109938


##########
cpp/src/arrow/filesystem/s3fs.cc:
##########
@@ -1128,6 +1129,14 @@ class ObjectInputFile final : public 
io::RandomAccessFile {
     return bytes_read;
   }
 
+  std::vector<Future<std::shared_ptr<Buffer>>> ReadManyAsync(
+      const io::IOContext& ctx, const std::vector<io::ReadRange>& ranges) 
override {
+    return RandomAccessFile::ReadManyAsync(
+        ctx, io::internal::CoalesceReadRanges(std::move(ranges),
+                                              coalesceOptions.hole_size_limit,
+                                              
coalesceOptions.range_size_limit));

Review Comment:
   Got it, thanks David, I'm writing a test for verifying these cases.



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