mbrobbel commented on PR #5585: URL: https://github.com/apache/arrow-rs/pull/5585#issuecomment-2036782403
> I think it would be good to understand the motivating use-case for this, as AFAICT the output of into_parts wouldn't be useful for reconstructing a UnionArray My use-case is [zero-copy conversion](https://github.com/mbrobbel/narrow/blob/2ab7e0436f6530289ebba38c4ce344570a26926f/src/arrow/array/union.rs#L133-L181) to a different union array type ([test example here](https://github.com/mbrobbel/narrow/blob/2ab7e0436f6530289ebba38c4ce344570a26926f/src/arrow/array/union.rs#L221-L244)). I'm not using it to reconstruct an `arrow_array::array::UnionArray`, however the added test in this PR shows how that can be done. -- 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]
