friendlymatthew opened a new issue, #8606:
URL: https://github.com/apache/arrow-rs/issues/8606
**Is your feature request related to a problem or challenge? Please describe
what you are trying to do.**
Creating a `VariantArray` from a collection of `Variant` values currently
requires a fair amount of boilerplate when the intent is simply to convert an
iterable of `Variant` values into a `VariantArray`
```rs
fn foo() {
let mut b = VariantArrayBuilder::new();
for v in variants {
b.append_variant(v);
}
}
```
**Describe the solution you'd like**
Implementing a `From<Impl IntoIterator<Item = Variant>>` for `VariantArray`
would simplify this process and make the API more ergonomic
**Additional context**
This feature is motivated by
[datafusion-variant](https://github.com/datafusion-contrib/datafusion-variant),
a higher-level library that integrates with Datafusion through a series of udfs
--
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]