[
https://issues.apache.org/jira/browse/ARROW-15173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neal Richardson updated ARROW-15173:
------------------------------------
Priority: Blocker (was: Major)
> [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: Blocker
> Labels: pull-request-available
> Fix For: 7.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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)