Rich-T-kid commented on code in PR #11912:
URL: https://github.com/apache/arrow-rs/pull/11912#discussion_r4468880808
##########
arrow-array/src/array/fixed_size_binary_array.rs:
##########
@@ -419,7 +419,11 @@ impl FixedSizeBinaryArray {
///
/// # Errors
///
- /// Returns error if argument has length zero, or sizes of nested slices
don't match.
+ /// - The iterator is empty
+ /// - The byte slices have different lengths
+ /// - The value length exceeds `i32`
+ /// - Size arithmetic overflows
+ /// - Buffer allocation fails
Review Comment:
Restored the deprecated constructor to its pre-PR implementation in
9547cdb757.
##########
arrow-row/src/fixed.rs:
##########
@@ -356,16 +356,27 @@ fn split_off<'a>(src: &mut &'a [u8], len: usize) -> &'a
[u8] {
}
/// Decodes a `BooleanArray` from rows
+#[expect(dead_code, reason = "Preserve the existing infallible decoder API")]
pub fn decode_bool(rows: &mut [&[u8]], options: SortOptions) -> BooleanArray {
Review Comment:
Removed the unused infallible decoder wrappers and kept only the
crate-private fallible versions in 9547cdb757.
--
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]