You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/06/15 19:57:00 UTC
[jira] [Updated] (ARROW-12940) [R] Expose C interface as R6 methods
[ https://issues.apache.org/jira/browse/ARROW-12940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-12940:
-----------------------------------
Labels: pull-request-available (was: )
> [R] Expose C interface as R6 methods
> ------------------------------------
>
> Key: ARROW-12940
> URL: https://issues.apache.org/jira/browse/ARROW-12940
> Project: Apache Arrow
> Issue Type: New Feature
> Components: R
> Reporter: Neal Richardson
> Assignee: Jonathan Keane
> Priority: Major
> Labels: pull-request-available
> Fix For: 5.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Similar to pyarrow's export_to_c and import_from_c methods. We have c++ wrappers like ImportRecordBatch but they aren't exported from the package namespace, so attaching them to the R6 objects would provide a way to do that.
> Lifecycle management of the C pointers they read/write to (allocate/delete) is left outside of these methods (as it is in the non-exported wrappers today).
> export_to_c should be a method on an object. import_from_c should be a "class method" like {{$create()}}.
> Once this is done, we should inform duckdb of this so that they can remove their {{getFromNamespace()}} workaround.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)