polars_parquet::arrow::write

Function to_leaves

Source
pub fn to_leaves(array: &dyn Array, leaves: &mut Vec<Box<dyn Array>>)
Expand description

Convert Array to a Vec<Box<dyn Array>> leaves in DFS order.

Each leaf array has the validity propagated from the nesting levels above.