You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ParquetPushDecoder API to clear all buffered ranges (#9624)
## Which issue does this PR close?
- Closes#8676
## Rationale for this change
`ParquetPushDecoder` 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 `release_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 and verified
clearing does not interrupt the rowgroup reader
## Are there any user-facing changes?
Yes,this adds a new public `release_all_ranges()` API on
`ParquetPushDecoder`
---------
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
0 commit comments