Skip to main content

avro_to_arrow_schema

Function avro_to_arrow_schema 

Source
pub fn avro_to_arrow_schema(
    avro_schema_str: &str,
) -> Result<SchemaRef, ConnectorError>
Expand description

Converts an Avro JSON schema string to an Arrow [SchemaRef].

Supports Avro record schemas with primitive field types.

ยงErrors

Returns ConnectorError::SchemaMismatch if the schema JSON is invalid or contains unsupported types.