Skip to content

Avoid a clone when creating NullArray from ArrayData - #9191

Merged
alamb merged 2 commits into
apache:mainfrom
alamb:alamb/null_array
Jan 16, 2026
Merged

alamb merged 2 commits into
apache:mainfrom
alamb:alamb/null_array

Conversation

@alamb

@alamb alamb commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Let's make arrow-rs the fastest we can and the fewer allocations the better

What changes are included in this PR?

Apply pattern from #9114

Are these changes tested?

Existing tests

Are there any user-facing changes?

No

@github-actions github-actions Bot added the arrow Changes to the arrow crate label Jan 15, 2026
@alamb alamb changed the title Avoid a clone when creating NullArry from ArrayData Avoid a clone when creating NullArray from ArrayData Jan 15, 2026
@alamb
alamb marked this pull request as ready for review January 15, 2026 13:24

@mhilton mhilton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@alamb

alamb commented Jan 16, 2026

Copy link
Copy Markdown
Contributor Author

Thank you for the review @mhilton

@alamb
alamb merged commit 91b1405 into apache:main Jan 16, 2026
@alamb
alamb deleted the alamb/null_array branch January 16, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants