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: [Docs] Clarify inlined strings in VariableLengthStringView is padded with 0 #40512

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/source/format/Columnar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,8 @@ length of the string and can be used to determine how the rest of the view
should be interpreted.

In the short string case the string's bytes are inlined — stored inside the
view itself, in the twelve bytes which follow the length.
view itself, in the twelve bytes which follow the length. Any remaining bytes
after the string itself are padded with `0`.

In the long string case, a buffer index indicates which data buffer
stores the data bytes and an offset indicates where in that buffer the
Expand Down
Loading