parquet::arrow::arrow_writer::levels

Function calculate_array_levels

Source
pub(crate) fn calculate_array_levels(
    array: &ArrayRef,
    field: &Field,
) -> Result<Vec<ArrayLevels>>
Expand description

Performs a depth-first scan of the children of array, constructing ArrayLevels for each leaf column encountered