[Arrow] Move parquet-variant-compute StructArrayBuilder to arrow-array
Open
- Dominant language
- Rust
- Stars
- 3.6k
- Forks
- 1.3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 169
Description
### Is your feature request related to a problem or challenge?
`parquet-variant-compute` contains a local `StructArrayBuilder` for assembling a `StructArray` from completed child arrays, fields, and an optional null buffer.
This is a general Arrow array utility rather than Variant-specific functionality.
### Describe the solution you'd like
Add the utility, or equivalent functionality, to `arrow-array` and replace the local implementation in `parquet-variant-compute`.
### Additional context
Current TODO: https://github.com/apache/arrow-rs/blob/main/parquet-variant-compute/src/variant_array.rs#L927
Contributor guide
Assessment
This issue has not been assessed yet.