jecsand838 commented on issue #9575: URL: https://github.com/apache/arrow-rs/issues/9575#issuecomment-4093682169
@mzabaluev One of my projects for the next major release is adding an explicit `ArrowToAvroSchemaBuilder` API for callers to use #9233. The idea is for callers to input an Arrow schema and use the provided knobs to inject all missing information / metadata required to generate the exact Avro schema they need in a reproducible manner. I was also considering adding either a helper or another knob for the caller to inject a writer schema. Could be as simple as `ArrowToAvroSchemaBuilder::from_writer_schema()`. Then the caller can input the schema outputted from `ArrowToAvroSchemaBuilder::build` into `with_reader_schema` and use the existing resolution logic The reason for going this direction was to provide a solution that could be re-used between the reader and writer sides of `arrow-avro`. Also I didn't want to couple it to any one Avro data package. For instance real-time systems that use the message protocol will be getting the schema from a schema registry while big data systems commonly utilize AVSC files. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
