Closed eitsupi closed 8 months ago
as_nanoarrow_array()
for a nanoarrow_array_stream
would involve concatenating (i.e., a copy), and that isn't something nanoarrow knows how to do. You could, as you noted, go through an R vector, but that's slow and I'd prefer to have the "chunked" case handled. The chunked case is the most common one anyway (column in an Arrow Table, polars Series).
that isn't something nanoarrow knows how to do
I see, I understand. And sorry, I completely misunderstood what collect_array_stream
does.
It returns a LIST, not an array.......
Thanks for the quick reply!
I wonder
collect_array_stream
can be accessed viaas_nanoarrow_array(<nanoarrow_array_stream>)