Skip to content

docs(arrow-row): fix the padding of the final block in the variable-length encoding docs - #12431

Merged
Jefffrey merged 1 commit into
apache:mainfrom
mbutrovich:row-format-final-block-docs
Nov 24, 2026
Merged

Jefffrey merged 1 commit into
apache:mainfrom
mbutrovich:row-format-final-block-docs

Conversation

@mbutrovich

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

None. This is a one-sentence doc fix.

Rationale for this change

The RowConverter docs say the final block of a variable-length value "is padded to 32-bytes". Since #4818 split the first 32 bytes into four 8-byte blocks, a value of up to 32 bytes ends in an 8-byte block, as non_null_padded_length computes. For example, "abc" encodes as [2, 97, 98, 99, 0, 0, 0, 0, 0, 3]. #4812 made this change to stop padding small strings to 32 bytes.

What changes are included in this PR?

The sentence now says the final block is padded to the length of its block.

Are these changes tested?

The PR changes only documentation.

Are there any significant user-facing changes?

No.

AI usage disclosure

Claude helped me draft the PR description.

@boring-cyborg boring-cyborg Bot added the arrow-row arrow-row crate label Nov 24, 2026
@Jefffrey Jefffrey added the documentation Improvements or additions to documentation label Nov 24, 2026
@Jefffrey
Jefffrey added this pull request to the merge queue Nov 24, 2026
@Jefffrey

Copy link
Copy Markdown
Contributor

thanks @mbutrovich

Merged via the queue into apache:main with commit 5c26068 Nov 24, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow-row arrow-row crate documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants