alamb commented on issue #8336: URL: https://github.com/apache/arrow-rs/issues/8336#issuecomment-3325209561
> > Can we update what "unshredding" means so it is also a borrowing operation? > > No. Partially shredded objects and arrays have to be rebuilt from scratch, allocation-wise. Some of the bytes come from the value column, and others are newly created from the typed_value column. And all this happens recursively. I don't know any way to represent it as a borrowed byte slice. I was thinking of adding an enum `Variant::ShreddedObject` that could hold whatever info was necessary I know I have mentioned this before but haven't yet produced any code to see how the idea could actually work in practice 🤔 -- 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]
