HadrienG2 opened a new pull request, #5760:
URL: https://github.com/apache/arrow-rs/pull/5760
# Which issue does this PR close?
Closes #5757.
# Rationale for this change
This lets me expose a more consistent interface in my prototype for #5700,
where builder contents can be accessed in place as a slice for more types.
# What changes are included in this PR?
Boolean builder contents are exposed as a slice of bytes, as suggested by
@tustvold in #5757.
# Are there any user-facing changes?
This adds a `values_slice()` to `BooleanBuilder`, which exposes the
bit-packed data as a slice of bytes. Since that's a bit different from other
`values_slice()` methods due to the bitpacking involved, I added a one-liner
explanation of how one would access the i-th boolean from this slice to the
docs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]