r-polars icon indicating copy to clipboard operation
r-polars copied to clipboard

Rewrite `as_polars_series` (for `vctr` package based vectors)

Open eitsupi opened this issue 1 year ago • 0 comments

Continued from #368.

as_polars_series was added in #369, but I think we should rewrite that.

This issue is related to the Arrow extension type, which Polars does not currently support (pola-rs/polars#9112), but support may be added in the future.

Useful resources.

  • apache/arrow-nanoarrow#288
  • https://github.com/apache/arrow/blob/f7947cc21bf78d67cf5ac1bf1894b5e04de1a632/r/R/array.R
  • https://github.com/apache/arrow/blob/f7947cc21bf78d67cf5ac1bf1894b5e04de1a632/r/R/extension.R#L469

eitsupi avatar Dec 04 '23 12:12 eitsupi