You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reduce overhead to create an Array from ArrayData (make_array) #9061
While looking at profiles for some of the ClickBench queries, I found that almost 1% of the query time was being spent creating record batches from ArrayData,
I looked into it and i think the issue is that even though Arrays get an owned ArrayData, they still end up clone ing some things. For some arrays this isn't a big deal (a few Arc updates) for some such as StructArray and ByteViewArray it requires an extra allocation
Describe the solution you'd like
I would like to avoid this overhead
Describe alternatives you've considered
I think we can directly construct the arrays from the relevant fields of ArrayData rather than having to clone them
changed the title [-]Reduce overhead to create an Array from ArrayData[/-][+]Reduce overhead to create an Array from ArrayData (`make_array`)[/+]on Jan 7, 2026
Activity
[-]Reduce overhead to create an Array from ArrayData[/-][+]Reduce overhead to create an Array from ArrayData (`make_array`)[/+]Docs: Add additional documentation and example for `make_array` (#9112)
Avoid clones in `make_array` for `StructArray` and `GenericByteViewAr…
[Parquet] perf: Create `PrimitiveArray`s directly rather than via `Ar…
[Parquet] perf: Create StructArrays directly rather than via `ArrayDa…
Minor: try and avoid an allocation creating `GenericByteViewArray` fr…
Avoid a clone when creating `BooleanArray` from ArrayData (#9159)
Avoid a clone when creating StringArray/BinaryArray from ArrayData (#…
Docs: Add additional documentation and example for `make_array` (apac…
Avoid clones in `make_array` for `StructArray` and `GenericByteViewAr…
[Parquet] perf: Create `PrimitiveArray`s directly rather than via `Ar…
[Parquet] perf: Create StructArrays directly rather than via `ArrayDa…
Minor: try and avoid an allocation creating `GenericByteViewArray` fr…
1 remaining item
Avoid a clone when creating StringArray/BinaryArray from ArrayData (a…
Avoid a clone when creating `PrimitiveArray` from ArrayData (#9190)
Avoid a clone when creating `DictionaryArray` from ArrayData (#9185)
Avoid a clone when creating `NullArray` from ArrayData (#9191)
[Parquet] perf: Create Utf8/BinaryViewArray directly rather than via …
Avoid a clone when creating `UnionArray` from ArrayData (#9188)
Avoid a clone when creating `MapArray` from ArrayData (#9192)
Avoid a clone when creating `ListArray` from ArrayData (#9194)
Avoid a clone when creating `ListViewArray` from ArrayData (#9193)
Avoid a clone when creating `RunEndArray` from ArrayData (#9189)
Avoid a clone when creating `FixedSizeListArray` from ArrayData (#9187)
Avoid a clone when creating `FixedSizeBinaryArray` from ArrayData (#9186
alamb commentedon Jan 21, 2026
All
impl From<ArrayData>have been merged. I also double checked that they all now useArrayData::into_partsso this is now completedocs: Update roadmap with Apache Arrow contribution strategy