Skip to content

GH-3706: [1.18.x] Avoid flushing incomplete files on writer failure - #3871

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

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

Conversation

@manuzhang

Copy link
Copy Markdown
Member

Rationale for this change

Backport #3707 to parquet-1.18.x to prevent failed writer finalization from flushing incomplete output.

What changes are included in this PR?

Cherry-picks dc6e2f13. The writer is marked aborted before close on finalization failure, including errors during record-writer close.

Are these changes tested?

Passed: Java 17 / Thrift 0.23.0 focused reactor verification for TestParquetFileWriter (37 tests, 0 skipped); Spotless and git diff --check. Broad integration tests and Javadocs were skipped.

Are there any user-facing changes?

Successful writes are unchanged; failed finalization no longer flushes incomplete output.

Backport apache#3707. Mark the writer aborted before closing on failed finalization, including errors during record-writer close.

(cherry picked from commit dc6e2f1)

Co-authored-by: Codex <codex@openai.com>
@wgtmac
wgtmac merged commit 672d7bd 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