amol- opened a new pull request, #39566:
URL: https://github.com/apache/arrow/pull/39566

   ### Rationale for this change
   
   We can avoid extra unecessary work and memory consumption of concatenating 
chunks when running take, we can directly run the take on the chunks at the 
only cost of remapping the indices which are usually much fewer than the size 
of the array we are applying take on.
   
   ### Are these changes tested?
   
   Two tests already existed that verify take on ChunkedArray and they covered 
the corner cases well, the only tweak necessary to those tests was that now 
take returns a chunkedarray made of multiple chunks instead of a single one.


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