fn create_take_indices(
length_array: &PrimitiveArray<Int64Type>,
capacity: usize,
) -> PrimitiveArray<Int64Type>Expand description
Creates take indices that will be used to expand all columns except for the list type
columns that is being unnested.
Every column value needs to be repeated multiple times according to the length array.
If the length array looks like this:
ⓘ
[2, 3, 1]Then create_take_indices will return an array like this
ⓘ
[0, 0, 1, 1, 1, 2]