tustvold commented on code in PR #7252:
URL: https://github.com/apache/arrow-rs/pull/7252#discussion_r1988539374


##########
parquet/src/arrow/async_reader/metadata.rs:
##########
@@ -71,7 +71,7 @@ pub trait MetadataFetch {
 
 impl<T: AsyncFileReader> MetadataFetch for &mut T {
     fn fetch(&mut self, range: Range<usize>) -> BoxFuture<'_, Result<Bytes>> {
-        self.get_bytes(range)
+        self.get_bytes(range.start as u64..range.end as u64)

Review Comment:
   I think we should also change this trait



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to