paleolimbot commented on issue #1008:
URL: https://github.com/apache/arrow-adbc/issues/1008#issuecomment-1701699741

   @krlmlr You brought up the concept of roundtripping in a conversation 
offline: I think that may be more of an issue for conversion from the other 
side. In general, conversions to arrow (via nanoarrow or arrow) only happen 
without error if the vector (and any associated metadata - like timezone or 
unit) can be represented in Arrow losslessly. If you know the ptype that you 
want back, `nanoarrow::convert_array_stream()` *should* be able to losslessly 
roundtrip (e.g., `convert_array_stream(result, to = data.frame(x = 
factor(levels = c("a", "b", ...)))`.


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