a10y commented on code in PR #8645:
URL: https://github.com/apache/arrow-rs/pull/8645#discussion_r2455606223


##########
arrow-data/src/transform/utils.rs:
##########
@@ -58,6 +58,13 @@ pub(super) unsafe fn get_last_offset<T: 
ArrowNativeType>(offset_buffer: &Mutable
     *unsafe { offsets.get_unchecked(offsets.len() - 1) }
 }
 
+#[inline]
+pub(super) fn get_last_value_or_default<T: ArrowNativeType>(offset_buffer: 
&MutableBuffer) -> T {
+    let (prefix, offsets, suffix) = unsafe { 
offset_buffer.as_slice().align_to::<T>() };

Review Comment:
   removing this function entirely now that it's unused



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