Jefffrey commented on code in PR #9176:
URL: https://github.com/apache/arrow-rs/pull/9176#discussion_r2704582193


##########
arrow-row/src/lib.rs:
##########
@@ -179,6 +179,39 @@ use crate::variable::{decode_binary, decode_string};
 use arrow_array::types::{Int16Type, Int32Type, Int64Type};
 
 mod fixed;
+
+/// Computes the minimum offset and maximum end (offset + size) for a ListView 
array.
+/// Returns (min_offset, max_end) which can be used to slice the values array.
+fn compute_list_view_bounds<O: OffsetSizeTrait>(array: 
&GenericListViewArray<O>) -> (usize, usize) {

Review Comment:
   We can always put it down near `row_lengths` where it won't intrude in the 
middle of `Codec` here



-- 
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]

Reply via email to