Ted-Jiang opened a new issue, #239:
URL: https://github.com/apache/arrow-rs-object-store/issues/239

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   now we have
   
https://github.com/apache/arrow-rs/blob/6c3f9a299ad10a66160563f7580a1062c2e8af7e/object_store/src/lib.rs#L115-L118
   
   I found in  apache/arrow-rs#2110 already support multi ranges
   
https://github.com/apache/arrow-rs/blob/aeb277642d1267673055aa0f705646db96dad340/parquet/src/arrow/async_reader.rs#L115-L124
   
   we should support same location  path with multi ranges read in object_store,
   
   like 
   ```
   async fn get_ranges(&self, location: &Path, range: &[<usize>]) -> 
Result<Bytes>; 
   ```
   
   This will reduce some overhead like in HDFS:
   We need to get file metadata for each `location` from metadata 
server(nameNode),  if we can get multi ranges in one location will reduce some 
rpc call in system.
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


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