[
https://issues.apache.org/jira/browse/ARROW-17439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613251#comment-17613251
]
Bryce Mecum commented on ARROW-17439:
-------------------------------------
I submitted a basic PR in [https://github.com/apache/arrow/pull/14330] which
needs some eyes and little bit of work, I think.
Re: [~eitsupi]'s comment above:
bq. Since pull() can have additional arguments, why not add an argument that
controls whether it should return an arrow structure or an R vector, like the
as_data_frame argument that read_csv_arrow() and others have?
I think that might work and would give us a way to avoid making a breaking API
change if the default was chosen appropriately. Curious for [~npr]'s thoughts
and others'.
> [R] pull() should compute() not collect()
> -----------------------------------------
>
> Key: ARROW-17439
> URL: https://issues.apache.org/jira/browse/ARROW-17439
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Neal Richardson
> Assignee: Bryce Mecum
> Priority: Major
> Labels: good-first-issue, pull-request-available
> Fix For: 10.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Currently {{pull()}} returns an R vector, but it's the only dplyr verb other
> than {{collect()}} that returns an R data structure. And there's no other
> natural way to extract a ChunkedArray from the result of an arrow query.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)