Skip to content

Commit

Permalink
Update arrow-array/src/array/byte_view_array.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Raphael Taylor-Davies <[email protected]>
  • Loading branch information
alamb and tustvold authored Oct 21, 2024
1 parent 45b7f46 commit 29155ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arrow-array/src/array/byte_view_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<V>::from_iter(byte_array.iter())
}
}
Expand Down

0 comments on commit 29155ad

Please sign in to comment.