Skip to content

GH-3487: [1.18.x] Release sequential row-group buffers - #3874

Merged
wgtmac merged 1 commit into
apache:parquet-1.18.xfrom
manuzhang:codex/backport-3488-1.18.x
Oct 21, 2026
Merged

wgtmac merged 1 commit into
apache:parquet-1.18.xfrom
manuzhang:codex/backport-3488-1.18.x

Conversation

@manuzhang

Copy link
Copy Markdown
Member

Rationale for this change

Backport #3488 to parquet-1.18.x to balance row-group buffer releases for direct ParquetFileReader callers.

What changes are included in this PR?

Cherry-picks 5702baee and the JUnit 5 test correction from #3774 (a363f5da). Production behavior matches #3488.

Are these changes tested?

Passed: Java 17 / Thrift 0.23.0 focused reactor verification for TestParquetFileReaderBufferLeak, TestColumnChunkPageReadStore, TestParquetReader, TestParquetFileReaderRowRanges, and TestColumnIndexFiltering (63 tests, 0 skipped); Spotless and git diff --check. Broad integration tests and Javadocs were skipped.

Are there any user-facing changes?

The previous sequential row-group store closes when advancing, and the final store closes with the reader. Callers must finish using a store before advancing.

Backport apache#3488 and its JUnit 5 test correction from apache#3774 (a363f5d). Close the prior sequential row-group store on advance and the final store on reader close.

(cherry picked from commit 5702bae)

Co-authored-by: Bodor Laszlo <bodorlaszlo0202@gmail.com>
Co-authored-by: Codex <codex@openai.com>
@wgtmac
wgtmac merged commit 0c8973f into apache:parquet-1.18.x Oct 21, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants