You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2023/06/08 16:19:53 UTC

[GitHub] [arrow-nanoarrow] paleolimbot opened a new issue, #218: [R] Add extension type support

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

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


[GitHub] [arrow-nanoarrow] paleolimbot commented on issue #218: [R] Add extension type support

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on issue #218:
URL: https://github.com/apache/arrow-nanoarrow/issues/218#issuecomment-1702951933

   Closed in #288.


-- 
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-unsubscribe@arrow.apache.org

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


[GitHub] [arrow-nanoarrow] paleolimbot closed issue #218: [R] Add extension type support

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot closed issue #218: [R] Add extension type support
URL: https://github.com/apache/arrow-nanoarrow/issues/218


-- 
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-unsubscribe@arrow.apache.org

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