pub fn arrow_to_avro_schema(
schema: &SchemaRef,
record_name: &str,
) -> Result<String, SerdeError>Expand description
Converts an Arrow [SchemaRef] to an Avro JSON schema string.
Generates a record schema named "record" with fields mapped from
Arrow data types to Avro primitives.
ยงErrors
Returns SerdeError if an Arrow type has no Avro equivalent.