diff --git a/arrow-array/src/array/byte_view_array.rs b/arrow-array/src/array/byte_view_array.rs index d5918a22667e..5b313913a7ef 100644 --- a/arrow-array/src/array/byte_view_array.rs +++ b/arrow-array/src/array/byte_view_array.rs @@ -647,9 +647,9 @@ where assert_eq!(views_builder.len(), len); views_builder.finish() } else { - // otherwise, create a new buffer for large strings + // Otherwise, create a new buffer for large strings // TODO: the original buffer could still be used - // until the offset reaches `u32::max`. + // by making multiple slices of u32::MAX length GenericByteViewArray::::from_iter(byte_array.iter()) } }