listSeries

fnSeries listSeries(string name, ArrayData child, size_t[] spans, bool[] valid)

Builds a LIST Series over a pre-built child chunk, from spans.

Parameters

namethe Series name
childthe sealed child chunk holding every list's elements in append order
spansone entry per row: the list's element count, with nulls distinguished by valid
validone entry per row: whether the list is valid (null lists read false; empty lists read true)

Returns

the single-chunk LIST Series.
fnSeries listSeries(E)(string name, DataType element, Nullable!(E[])[] values)

Builds a LIST Series from arrays of nullable element arrays, one flat child for the primitive element kinds.

Parameters

namethe Series name
elementthe element dtype (a primitive kind)
valuesone entry per row: null (the whole list is null) or the element array (possibly empty)

Returns

the single-chunk LIST Series.