gwallet commented on PR #3493: URL: https://github.com/apache/avro/pull/3493#issuecomment-3689556130
Hi! The JsonDecoder is currently failing when a property is present in the JSON document that is not advertised by the reader schema. It means that if a document producer send document relying on a new schema version which is backward compatible with the previous version (a new property/field), actual consumer that have not been updated can't read the document (at least the known properties advertised by the old document version schema). That's why the testcase only shows the reader schema, because it is the relevant one that shows the 'old' version that should be able to read document with unknown properties, according to the statement: > if the writer's record contains a field with a name not present in the reader's record, the writer's value for that field is ignored. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
