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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   Calling `GetResult::bytes` or `GetResult::into_stream` consumes all of 
`GetResult` even though the only part that really needs to be consumable is the 
`GetResultPayload`. Instead, having the helpers live on `GetResultPayload` 
means that downstream users can store their own `GetResult` and have the 
`GetResult::meta` and `GetResult::attributes` be accessible even after 
consuming the payload.
   
   **Describe the solution you'd like**
   
   Move payload helpers from `GetResult` to `GetResultPayload`
   
   **Describe alternatives you've considered**
   
   Alternatively, we could just clone the `range`, `meta`, and `attributes` 
fields on `GetResult`. It's probably not that much overhead.
   
   **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: github-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to