apache / apache/arrow-rs

[Variant] Improve ergonomic for creating VariantArray

Open
#8,628 1 comment 0 reactions 1 assignee Claimed by @jabrailkhalil View on GitHub
good first issue
Dominant language
Rust
Stars
3.6k
Forks
1.3k
Avg merge
2d 18h
Merged PRs (30d)
169

Description

If we do this:
```suggestion
impl<'m, 'v, V: Into> FromIterator> for VariantArray {
```
then we can create a variant array from anything that converts cleanly to variant (e.g. i64 values or &str)?

_Originally posted by @scovich in https://github.com/apache/arrow-rs/pull/8625#discussion_r2432827098_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.