flavray / avro-rs

Avro client library implementation in Rust
MIT License
169 stars 95 forks source link

Add a test for nullable logical types #123

Closed cpcloud closed 4 years ago

cpcloud commented 4 years ago

This PR adds a test for writing a nullable logical type.

Nullable logical types are specified using union of null, and the logical type:

{"type": ["null", {"type": "long", "logicalType": "timestamp-micros"}]}

Closes #122.

poros commented 4 years ago

Looks good! Thanks for keeping the code quality up :)

AustinHunt commented 4 years ago

@cpcloud thank you!