westonpace commented on issue #15161:
URL: https://github.com/apache/arrow/issues/15161#issuecomment-1376574396

   > I don't see this function in the record batch
   
   Correct, one does not exist.  I was suggesting that someone create one.  If 
you create one yourself I'd encourage you to submit a PR.
   
   > in what instance, is there a copy of the buffer.
   
   Normally you have to go out of your way to copy a buffer.  For example, 
create an array builder, add all the values from the old array, and then build 
an array from that.
   
   However, many of the compute functions (take, filter, sort, cast, etc.) will 
do this (some casts are zero-copy but not all).


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