parquet::arrow

Function parquet_column

Source
pub fn parquet_column<'a>(
    parquet_schema: &SchemaDescriptor,
    arrow_schema: &'a Schema,
    name: &str,
) -> Option<(usize, &'a FieldRef)>
Expand description

Lookups up the parquet column by name

Returns the parquet column index and the corresponding arrow field