You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Francois Saint-Jacques (Jira)" <ji...@apache.org> on 2020/06/15 19:22:00 UTC

[jira] [Commented] (ARROW-9140) [R] Zero-copy Arrow to R where possible

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

Francois Saint-Jacques commented on ARROW-9140:
-----------------------------------------------

That's already mentioned in ARROW-7798, maybe we can slice it in sub-tasks to limit the scope.

> [R] Zero-copy Arrow to R where possible
> ---------------------------------------
>
>                 Key: ARROW-9140
>                 URL: https://issues.apache.org/jira/browse/ARROW-9140
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: R
>            Reporter: Neal Richardson
>            Priority: Major
>
> In a few cases, such as {{int32}} and {{float64}}, where there are no nulls (or nulls allowed, if ARROW-8348/ARROW-3263 happen), we should be able to ingest data from Arrow to R with zero copy. But from my reading of the source, we always allocate memory, and even in the simple cases, we always [transform|https://github.com/apache/arrow/blob/efb707a5438380dcef78418668b57c3f60592a23/r/src/array_to_vector.cpp#L130] the data.
> cc [~romainfrancois] [~fsaintjacques]



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