pitrou commented on code in PR #39969:
URL: https://github.com/apache/arrow/pull/39969#discussion_r1481417838
##########
r/R/python.R:
##########
@@ -339,15 +339,9 @@ install_pyarrow <- function(envname = NULL, nightly =
FALSE, ...) {
}
pyarrow_compatible_pointer <- function(ptr) {
- pa <- reticulate::import("pyarrow")
- version_string <- pa$`__version__`
- # remove trailing .devXXX because it won't work with package_version()
- pyarrow_version <- package_version(gsub("\\.dev.*?$", "", version_string))
-
- # pyarrow pointers changed in version 7.0.0
- if (pyarrow_version >= "7.0.0") {
- return(ptr)
- } else {
- return(external_pointer_addr_double(ptr))
- }
+ # Workaround because there is no built-in way to send a 64-bit integer
Review Comment:
Can you add a reference to the GH issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]