paleolimbot opened a new pull request #12062:
URL: https://github.com/apache/arrow/pull/12062


   This PR updates the pointer logic that changed in #12011 (ARROW-15169) to 
make sure that users can use the arrow R package to communicate with pyarrow 
that hasn't been upgraded yet.
   
   Should work with:
   
   ``` bash
   pip3 install pyarrow
   ```
   
   ``` r
   pa <- reticulate::import("pyarrow", convert = FALSE)
   py <- pa$array(c(1, 2, 3))
   reticulate::py_to_r(py)
   #> [
   #>   1,
   #>   2,
   #>   3
   #> ]
   ```
   
   and:
   
   ``` bash
   pip3 install pyarrow --extra-index-url https://repo.fury.io/arrow-nightlies/ 
--pre --upgrade
   ```
   
   ``` r
   pa <- reticulate::import("pyarrow", convert = FALSE)
   py <- pa$array(c(1, 2, 3))
   reticulate::py_to_r(py)
   #> [
   #>   1,
   #>   2,
   #>   3
   #> ]
   ```
   
   ...but we don't have a good way to test against the old pyarrow version in 
our tests (unless @jonkeane can think of one!)


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to