[
https://issues.apache.org/jira/browse/AVRO-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Plagnes updated AVRO-3137:
---------------------------------
Attachment: 0001-fix-logical-type-in-record-schema.patch
Status: Patch Available (was: Open)
> csharp RecordSchema loses custom properties in WriteJson/ToString
> -----------------------------------------------------------------
>
> Key: AVRO-3137
> URL: https://issues.apache.org/jira/browse/AVRO-3137
> Project: Apache Avro
> Issue Type: Bug
> Components: csharp
> Affects Versions: 1.10.2
> Reporter: Pierre Plagnes
> Priority: Major
> Attachments: 0001-fix-logical-type-in-record-schema.patch
>
>
> RecordSchema class does not manage LogicalType.
> This breaks any functionality which relies on the equality of the schema
> re-parsed from its ToString/WriteJson output.
> It breaks usage of schema registry for example, as when a producer will send
> the schema to the SR without its logicatype, and so on the SR won't be able
> to return the corresponding schema.
>
> {code:java}
> // Example of a record schema
> {code}
> {"type":"record",\"name":"Test","namespace":"test","fields":[\{"name":"dt","type":"long","logicalType":"timestamp-millis"}]}"
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)