Skip to main content

build_parquet_leaves_indices

Function build_parquet_leaves_indices 

Source
fn build_parquet_leaves_indices(
    parquet_schema_desc: &SchemaDescriptor,
    projection: &ParquetReadColumns,
) -> (Vec<usize>, HashSet<usize>)
Expand description

Builds parquet leaf-column indices for reading a parquet file.

Returns (leaf_indices, matched_roots):

  • leaf_indices: matched parquet leaf column indices
  • matched_roots: root column indices that match at least one leaf in the current parquet schema.