sdf-jkl opened a new issue, #10620: URL: https://github.com/apache/arrow-rs/issues/10620
### Is your feature request related to a problem or challenge? `VariantArray::try_value` can materialize primitive `typed_value` values but not legal shredded Struct or List values. #10597 prevents these values from being silently reported as `Variant::Null`, but callers still cannot retrieve the complete row as a `Variant` without unshredding the array first. ### Describe the solution you'd like Support reconstructing perfectly and partially shredded Struct/List values in `try_value`. This likely requires an owned or COW representation because composite values must be encoded into new buffers, while `Variant` currently borrows its encoded bytes. ### Describe alternatives you've considered Call `unshred_variant` on the complete array before accessing individual values. This works but requires array-level reconstruction when only one row may be needed. ### Additional context - #10597 - Current unsupported arm: https://github.com/apache/arrow-rs/blob/main/parquet-variant-compute/src/variant_array.rs#L1126 -- 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]
