nathanb9 opened a new pull request, #9673:
URL: https://github.com/apache/arrow-rs/pull/9673

   ## Rationale for this change
   `ParquetMetaDataPushDecoder` clears exact requested ranges, but larger
   speculative pushed ranges can remain buffered in `PushBuffers`. This
   adds a way for callers to explicitly release non exact ranges
   
   ## What changes are included in this PR?
   This adds `clear_all_ranges()`, which clears all byte ranges still
   staged in the decoder's internal `PushBuffers`
   
   ## Are these changes tested?
   Kinda tested. Tests added to verify the buffer is empty after clearing.
   
   ## Are there any user-facing changes?
   Yes, this adds a new public `clear_all_ranges()` API on
   `ParquetMetaDataPushDecoder`


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