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. Codec for Mapping Avro and Arrow types.
StructsΒ§
- Avro
Data πType - An Avro datatype mapped to the arrow data model
- Avro
Field π - A named
AvroDataType - Avro
Field πBuilder - Builder for an
AvroField - Enum
Mapping π - Holds the mapping information for resolving Avro enums.
- Maker π
- Resolves Avro type names to
AvroDataType - Resolved
Record π - Contains the necessary information to resolve a writerβs record against a readerβs record schema.
- Resolved
Union π - Information required to resolve a writer union against a reader union (or single type).
- Resolver π
- Resolves Avro type names to
AvroDataType
EnumsΒ§
- Avro
Literal π - Represents a literal Avro value.
- Codec π
- An Avro encoding
- Promotion π
- Defines the type of promotion to be applied during schema resolution.
- Resolution
Info π - Contains information about how to resolve differences between a writerβs and a readerβs schema.
- Union
Branch πKey - Union
Field πKind
FunctionsΒ§
- branch_
key_ πof - build_
union_ πfields - ensure_
names_ πmatch - full_
name_ πset - max_
precision_ πfor_ fixed_ bytes - Compute the exact maximum baseβ10 precision that fits in
nbytes for Avrofixeddecimals stored as twoβsβcomplement unscaled integers (bigβendian). - names_
match π - nullable_
union_ πvariants - parse_
decimal_ πattributes - primitive_
of π - union_
branch_ πname - union_
first_ πduplicate - with_
extension_ πtype