scovich commented on PR #8360:
URL: https://github.com/apache/arrow-rs/pull/8360#issuecomment-3298570983

   @alamb -- this (along with the other small PR posted today) is the final 
groundwork for a new `shred_variant` function I've been prototyping. That 
function takes a binary variant as input, along with a target shredding schema 
(such as a primitive or struct). It converts the requested schema into an 
actual physical shredding schema with `value` and `typed_value` columns, and 
then attempts to shred the data into a new variant column with that schema. 
   
   It turns out that true shredding is just different enough from `variant_get` 
that it's worth implementing separately. 
   
   Implementing an actual function for this also bypasses our current lack of 
an extension type (so there's actually no way to request shredding via 
`variant_get`). 


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