paleolimbot opened a new issue, #218:
URL: https://github.com/apache/arrow-nanoarrow/issues/218

   Originally noted in #66, converting extension types currently warns and 
converts the storage type. For extension types like geoarrow, we will need some 
S3 method or registration to customize Arrow -> R when there is an extension 
type. `arrow::vctrs_extension_array()` is probably a good place to start.
   
   ``` r
   library(nanoarrow)
   library(arrow, warn.conflicts = FALSE)
   #> Some features are not enabled in this build of Arrow. Run `arrow_info()` 
for more information.
   
   ext_array <- vctrs_extension_array(1:10)
   na_array <- as_nanoarrow_array(ext_array)
   convert_array(na_array)
   #> Warning in convert_array.default(na_array): Converting unknown extension
   #> arrow.r.vctrs{int32} as storage type
   #>  [1]  1  2  3  4  5  6  7  8  9 10
   ```
   
   <sup>Created on 2023-06-08 with [reprex 
v2.0.2](https://reprex.tidyverse.org)</sup>


-- 
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]

Reply via email to