Lucas Heimberg created AVRO-2997:
------------------------------------
Summary: Documentation is missing in string representation of
named schemas
Key: AVRO-2997
URL: https://issues.apache.org/jira/browse/AVRO-2997
Project: Apache Avro
Issue Type: Bug
Components: csharp
Affects Versions: 1.10.0
Reporter: Lucas Heimberg
Named schemas have a documentation field. In contrast to the Java
implementation, the C# implementation of Avro is missing this field in the
canonical string representation of named schemas.
To fix this, it seems that it is enough to add writing the documentation string
to the WriteJsonFields method of NamedSchema.
This is more than a cosmetical problem as, for example, the Confluent schema
registry decides equivalence of schemas based on the canonical string
representation. The missing doc field in the C# implementation makes it hard to
emulate this concept of schema equivalence in an application using the C#
implementation of Avro.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)