Skip to content

fix(parquet): clarify docstring on Close method of FileWriter, proper err output#774

Merged
zeroshade merged 1 commit intoapache:mainfrom
zeroshade:clarify-close-parquet
Apr 21, 2026
Merged

fix(parquet): clarify docstring on Close method of FileWriter, proper err output#774
zeroshade merged 1 commit intoapache:mainfrom
zeroshade:clarify-close-parquet

Conversation

@zeroshade
Copy link
Copy Markdown
Member

Rationale for this change

Fixes #703

What changes are included in this PR?

Clarifying the docstrings on the Close methods of the FileWriter and pqarrow.FileWriter

Are these changes tested?

Documentation changes, no need to test

Are there any user-facing changes?

No

@zeroshade zeroshade requested review from amoeba and lidavidm April 20, 2026 20:47
@zeroshade
Copy link
Copy Markdown
Member Author

@tilinna is this what you were thinking?

@tilinna
Copy link
Copy Markdown

tilinna commented Apr 21, 2026

LGTM, although I would have classified this as fix(parquet) (there's a small code-change too)

@zeroshade zeroshade changed the title docs(parquet): clarify docstring on Close method of FileWriter fix(parquet): clarify docstring on Close method of FileWriter, proper err output Apr 21, 2026
@zeroshade zeroshade merged commit c5f0943 into apache:main Apr 21, 2026
23 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.

FileWriter.Close() unexpectedly closes the caller-provided io.Writer and always returns nil

3 participants