You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When serializing an AvroField, in this library, the default value is serialized as the string literal "null" rather than the null JSON value. Looking through the code, this is caused by reusing the Schema type for this option, although the convention are a little different in reality (e.g. for types, null is written as a string). Currently this breaks compatibility when using this library with other Avro tools to read and write files.
The text was updated successfully, but these errors were encountered:
According to the avro spec, nullable fields in a schema should have the following shape:
When serializing an
AvroField
, in this library, thedefault
value is serialized as the string literal"null"
rather than thenull
JSON value. Looking through the code, this is caused by reusing the Schema type for this option, although the convention are a little different in reality (e.g. for types, null is written as a string). Currently this breaks compatibility when using this library with other Avro tools to read and write files.The text was updated successfully, but these errors were encountered: