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 (matched_leaves, matched_roots):

  • matched_leaves: matched leaf-column indices in the current parquet file schema.
  • matched_roots: root-field indices read from the current parquet file schema.