[ 
https://issues.apache.org/jira/browse/ARROW-13540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392442#comment-17392442
 ] 

Ian Cook commented on ARROW-13540:
----------------------------------

In the R package, we implemented Table and RecordBatch sorting, to enable 
support for the dplyr {{arrange()}} function. We did this by using the  
{{take}} and {{sort_indices}} kernels.

Here's where it happens: 
[https://github.com/apache/arrow/blob/a52050a8617a3d1164ea3e960b0a0260023d98bd/r/R/dplyr-collect.R#L27-L34]

{{[}} calls {{take}} and {{SortIndices}} calls {{sort_indices}}.

 

> [C++][Compute] Add OrderByNode
> ------------------------------
>
>                 Key: ARROW-13540
>                 URL: https://issues.apache.org/jira/browse/ARROW-13540
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Ben Kietzman
>            Assignee: Ben Kietzman
>            Priority: Major
>
> To provide sorting capability



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to