Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor: Clarify NullBufferBuilder::new capacity parameter #7016

Merged
merged 2 commits into from
Jan 25, 2025

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Jan 24, 2025

Which issue does this PR close?

Rationale for this change

I was confused about how capacity worked for the NullBufferBuilder in #7013 (comment) while discussing with @Jefffrey and @ Chen-Yuan-Lai and spent some time reading the code.

I would like to document my findings in docstrings for the next time

What changes are included in this PR?

Add doc comments about capacity

Are there any user-facing changes?

Docs only. There are no functional changes

@github-actions github-actions bot added the arrow Changes to the arrow crate label Jan 24, 2025
@alamb
Copy link
Contributor Author

alamb commented Jan 24, 2025

Thanks @Jefffrey

@tustvold tustvold merged commit 6340d46 into apache:main Jan 25, 2025
26 checks passed
@alamb alamb deleted the alamb/null_docs branch January 25, 2025 17:14
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.

3 participants