HaoYang670 opened a new issue, #1643:
URL: https://github.com/apache/arrow-rs/issues/1643
**Is your feature request related to a problem or challenge? Please describe
what you are trying to do.**
There is no test or example covering `UnionArray::from(data: ArrayData)`. We
need to add some.
```rust
impl From<ArrayData> for UnionArray {
fn from(data: ArrayData) -> Self {
let mut boxed_fields = vec![];
for cd in data.child_data() {
boxed_fields.push(make_array(cd.clone()));
}
Self { data, boxed_fields }
}
}
```
--
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]