kita-renji commented on code in PR #11224:
URL: https://github.com/apache/arrow-rs/pull/11224#discussion_r4123233115


##########
arrow-row/src/variable.rs:
##########
@@ -309,10 +309,21 @@ pub fn decode_binary<I: OffsetSizeTrait>(
     }
 }
 
+/// Returns an error if `long_values_len` bytes of non-inlined values cannot be
+/// addressed by the `u32` offset of a view into a single data buffer
+fn check_view_buffer_len(long_values_len: usize) -> Result<(), ArrowError> {

Review Comment:
   Done, inlined it at the call site.



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