Module codec

Source
Expand description

Data type conversions between Avro and Arrow types

This module contains the necessary types and functions to convert between Avro data types and Arrow data types.

Structsยง

AvroDataType
An Avro datatype mapped to the arrow data model
AvroField
A named AvroDataType
Resolver ๐Ÿ”’
Resolves Avro type names to AvroDataType

Enumsยง

Codec
An Avro encoding
Nullability
Avro types are not nullable, with nullability instead encoded as a union where one of the variants is the null type.

Functionsยง

make_data_type ๐Ÿ”’
Parses a AvroDataType from the provided Schema and the given name and namespace
parse_decimal_attributes ๐Ÿ”’