mbrobbel opened a new pull request, #5667:
URL: https://github.com/apache/arrow-rs/pull/5667
# Rationale for this change
Prefer the strongly-typed `ScalarBuffer` over the untyped `Buffer`. It helps
when trying to construct this array from other typed buffers like `Vec<u8>`
because this conversion is not directly supported for `Buffer` (because of
https://github.com/apache/arrow-rs/pull/3756#discussion_r1115780349).
# What changes are included in this PR?
Changed `value_data` field of `FixedSizeBinaryArray` from `Buffer` to
`ScalarBuffer<u8>`.
# Are there any user-facing changes?
`FixedSizeBinaryArray` `new`/`try_new` and `into_parts` now use
`ScalarBuffer` instead of `Buffer`.
This is a breaking change.
--
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]