scovich commented on issue #8336: URL: https://github.com/apache/arrow-rs/issues/8336#issuecomment-3321632118
A smaller issue I encountered is that unshredding a partially shredded object is a fallible operation for various reasons, but `VariantArray::value` and the helper methods it relies on are all infallible. I suspect the same issue will also apply to shredded variant arrays. Today we work around some existing failure cases by returning `Variant::Null` (along with a failing `debug_assert!`), but it would be much nicer to surface a fallible API that callers can choose to use if they don't like to risk panics. -- 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]
