pub fn compute_leaves(
field: &Field,
array: &ArrayRef,
) -> Result<Vec<ArrowLeafColumn>>Expand description
Computes the ArrowLeafColumn for a potentially nested [ArrayRef]
This function can be used to encode individual columns in parallel.
See example on ArrowColumnWriter. A reachable logical null in a
non-nullable field returns an error when the leaf is written.