jorgecarleitao commented on pull request #8856:
URL: https://github.com/apache/arrow/pull/8856#issuecomment-744270647


   @waynexia , good question. In general, yes: arrow arrays are immutable and 
thus we can't sort them in place. Therefore, we use two steps:
   
   1. get the index array that would sort the array
   2. `take` items from the array according to said indexes
   
   The second point is where we "re-arrange" the array.
   
   Sorry for the delay and keep the questions coming if you have them. :)


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to