Skip to content

fix: Also (maybe) write header on Writer::flush. - #222

Merged
martin-g merged 1 commit into
apache:mainfrom
Kriskras99:fix/flush_write_maybe_header
Jul 2, 2025
Merged

martin-g merged 1 commit into
apache:mainfrom
Kriskras99:fix/flush_write_maybe_header

Conversation

@Kriskras99

Copy link
Copy Markdown
Contributor

Will only write the header if it wasn't written yet and it has not been disabled using WriterBuilder.

Closes #220

@martin-g martin-g left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a new test case too

Will only write the header if it wasn't written yet and it has not
been disabled using `WriterBuilder`.
@Kriskras99
Kriskras99 force-pushed the fix/flush_write_maybe_header branch from be12b11 to 949298d Compare July 2, 2025 06:00
@Kriskras99

Copy link
Copy Markdown
Contributor Author

Test case added

@martin-g
martin-g merged commit 597db4f into apache:main Jul 2, 2025
@martin-g

martin-g commented Jul 2, 2025

Copy link
Copy Markdown
Member

Thank you, @Kriskras99 !

@Kriskras99
Kriskras99 deleted the fix/flush_write_maybe_header branch July 2, 2025 09:24
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.

Should Writer::flush also write the header?

2 participants