Skip to content

fix(arrow/ipc): preserve minSpaceSavings in stream writer - #1143

Open
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/ipc-writer-min-space-savings
Open

fix(arrow/ipc): preserve minSpaceSavings in stream writer#1143
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/ipc-writer-min-space-savings

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

Rationale for this change

NewWriterWithPayloadWriter copies minSpaceSavings, but NewWriter did not. As a result, WithMinSpaceSavings was ignored by the regular stream writer.

What changes are included in this PR?

Copy the configured value in NewWriter and add a regression test.

Are these changes tested?

  • go test ./arrow/ipc

Are there any user-facing changes?

The regular IPC stream writer now honors WithMinSpaceSavings.

@fallintoplace
fallintoplace marked this pull request as ready for review August 8, 2026 15:52
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.

1 participant