You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Dewey Dunnington (Jira)" <ji...@apache.org> on 2021/12/21 16:47:00 UTC

[jira] [Assigned] (ARROW-15173) [R] Provide backward compatibility for bridge to older versions of pyarrow

     [ https://issues.apache.org/jira/browse/ARROW-15173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dewey Dunnington reassigned ARROW-15173:
----------------------------------------

    Assignee: Dewey Dunnington

> [R] Provide backward compatibility for bridge to older versions of pyarrow
> --------------------------------------------------------------------------
>
>                 Key: ARROW-15173
>                 URL: https://issues.apache.org/jira/browse/ARROW-15173
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Dewey Dunnington
>            Assignee: Dewey Dunnington
>            Priority: Major
>             Fix For: 7.0.0
>
>
> After ARROW-15169 is merged, the Python--R bridge code will properly use external pointers to pass references to C API structures. The changes made on the R side will (probably) only work with the new pyarrow version. If it doesn't, it's not hard to provide backward compatibility:
> {code:R}
> pa <- reticulate::import("pyarrow")
> if (package_version(pa$`__version__`) >= "6.0.0.9000") {
>   # the new code
> } else {
>   # the old code
> }
> #> NULL
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)