Skip to content

Conversation

snorochevskiy
Copy link

Adding support for field default values, and for type references.

For ref types I had to change Schema deserializer to stateful (DeserializeSeed) because information of already parsed types has to be stored somewhere and passed to the visitor.

@martin-g
Copy link

Apologies for the self-promotion!

I am not sure you are aware but
https://github.com/apache/avro-rs (the official Rust SDK) already supports these functionalities.

@snorochevskiy
Copy link
Author

Apologies for the self-promotion!

I am not sure you are aware but https://github.com/apache/avro-rs (the official Rust SDK) already supports these functionalities.

Thank you for pointing. Yes, I'm aware of it, but I would like to have the change in avro-schema because it is used by Polars (which I'm using), and I would prefer not to try to rewrite the whole avro reading part in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants