liukun4515 commented on code in PR #1977:
URL: https://github.com/apache/arrow-rs/pull/1977#discussion_r911927683
##########
parquet/src/file/reader.rs:
##########
@@ -48,6 +49,14 @@ pub trait ChunkReader: Length + Send + Sync {
/// get a serialy readeable slice of the current reader
/// This should fail if the slice exceeds the current bounds
fn get_read(&self, start: u64, length: usize) -> Result<Self::T>;
+
+ /// get a serially readable slice of the current reader
+ /// This should fail if the slice exceeds the current bounds
+ fn get_multi_range_read(
+ &self,
+ start_list: Vec<usize>,
+ length_list: Vec<usize>,
Review Comment:
```suggestion
page_offsets: Vec<usize>,
page_lengths: Vec<usize>,
```
--
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]