Expand description
APIs to handle Parquet <-> Arrow schemas.
Structs
Metadata for a Parquet file.
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.
Used to describe primitive leaf fields and structs, including top-level schema.
Note that the top-level schema type is represented using GroupType
whose
repetition is None
.
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.
Reads an arrow schema from Parquet’s file metadata. Returns None
if no schema was found.