scovich commented on code in PR #12420:
URL: https://github.com/apache/arrow-rs/pull/12420#discussion_r4673737076
##########
arrow-array/src/array/mod.rs:
##########
@@ -149,6 +149,28 @@ pub unsafe trait Array: std::fmt::Debug + Send + Sync {
/// Panics if `offset + length > self.len()`
fn slice(&self, offset: usize, length: usize) -> ArrayRef;
+ /// Returns an [`ArrayRef`] with the same contents as `self`, sharing its
buffers.
+ ///
Review Comment:
Incorporated, PTAL
--
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]