Rafferty97 commented on issue #9225:
URL: https://github.com/apache/arrow-rs/issues/9225#issuecomment-4052494506

   I think this could be decomposed into simpler pieces. For the case of just 
wanting to extract a particular variant from an enum without any further 
transforms/casts, I think this could be relatively simple:
   - For a sparse union, I think it's just a matter of extracting the right 
child array and adjusting the validity bitmap
   - For a dense union, it would be similar but you'd need to scatter the 
actual values
   
   @alamb If you think this could be a useful lego piece I'd be interested in 
trying my hand at an implementation


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