Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R] Provide backward compatibility for bridge to older versions of pyarrow #30676

Closed
asfimport opened this issue Dec 21, 2021 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@asfimport
Copy link

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:

pa <- reticulate::import("pyarrow")
if (package_version(pa$`__version__`) >= "6.0.0.9000") {
  # the new code
} else {
  # the old code
}
#> NULL

Reporter: Dewey Dunnington / @paleolimbot
Assignee: Dewey Dunnington / @paleolimbot

PRs and other links:

Note: This issue was originally created as ARROW-15173. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Jonathan Keane / @jonkeane:
Issue resolved by pull request 12062
#12062

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants