[
https://issues.apache.org/jira/browse/ARROW-13767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417818#comment-17417818
]
Weston Pace commented on ARROW-13767:
-------------------------------------
This is an interesting question. The datasets API does have an ordered scan.
This is used by the head method.
However, R has moved away from the datasets API and is using the exec plan
directly now. The datasets API's ordering is not part of the exec plan.
> [R] Add Arrow methods slice(), slice_head(), slice_tail()
> ---------------------------------------------------------
>
> Key: ARROW-13767
> URL: https://issues.apache.org/jira/browse/ARROW-13767
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Ian Cook
> Priority: Major
> Labels: query-engine
> Fix For: 7.0.0
>
>
> Implement [{{slice()}}, {{slice_head()}}, and
> {{slice_tail()}}|https://dplyr.tidyverse.org/reference/slice.html] methods
> for {{ArrowTabular}}, {{Dataset}}, and {{arrow_dplyr_query}} objects . I
> believe this should be relatively straightforward, using {{Take()}} to return
> only the specified rows. We already have a {{head()}} method which I believe
> we can reuse for {{slice_head()}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)