alamb commented on issue #8336:
URL: https://github.com/apache/arrow-rs/issues/8336#issuecomment-3324982962

   > But unshredding an object or array requires building a new variant value, 
whose bytes are now owned by the function that created them.
   
   
   Maybe this is the core problem 🤔  Can we update what "unshredding" means so 
it is also a borrowing operation?
   
   For example, if we unshred a field that is a `String` but was shredded into 
a `StringArray` then it could return a `Variant::String` that borrows from the 
underlying string array
   
   Variant::Object with some shredded and some unshredded fields is probably 
the trickiest thing to get working


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