Function parquet2::read::read_columns

source ·
pub fn read_columns<'a, R: Read + Seek>(
    reader: &mut R,
    columns: &'a [ColumnChunkMetaData],
    field_name: &'a str
) -> Result<Vec<(&'a ColumnChunkMetaData, Vec<u8>)>, Error>
Expand description

Reads all columns that are part of the parquet field field_name

§Implementation

This operation is IO-bounded O(C) where C is the number of columns associated to the field (one for non-nested types) It reads the columns sequentially. Use read_column to fork this operation to multiple readers.