Commit 88b7fca
authored
ParquetMetaDataPushDecoder API to clear all buffered ranges (#9673)
This PR is a follow up for [this ticket
](#8676). Implement same API
but for the metadata decoder.
See also
#9624 (comment)
## 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?
yes
## Are there any user-facing changes?
Yes, this adds a new public `clear_all_ranges()` API on
`ParquetMetaDataPushDecoder`1 parent 68851ef commit 88b7fca
File tree
2 files changed
+22
-1
lines changed- parquet/src
- file/metadata
- util
2 files changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
361 | 366 | | |
362 | 367 | | |
363 | 368 | | |
| |||
573 | 578 | | |
574 | 579 | | |
575 | 580 | | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
576 | 598 | | |
577 | 599 | | |
578 | 600 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | 159 | | |
161 | 160 | | |
162 | 161 | | |
| |||
0 commit comments