Module arrow2::io::parquet::read::schema

source ·
Available on crate feature io_parquet only.
Expand description

APIs to handle Parquet <-> Arrow schemas.

Structs

Metadata for a Parquet file.
Wrapper struct to store key values
A schema descriptor. This encapsulates the top-level schemas for all the columns, as well as all descriptors for all the primitive columns.

Enums

Representation of a Parquet type describing primitive and nested fields, including the top-level schema of the parquet file.

Functions

Infers a Schema from parquet’s FileMetaData. This first looks for the metadata key "ARROW:schema"; if it does not exist, it converts the parquet types declared in the file’s parquet schema to Arrow’s equivalent.
Converts ParquetTypes to a Field, ignoring parquet fields that do not contain any physical column.
Reads an arrow schema from Parquet’s file metadata. Returns None if no schema was found.