Anders Sundelin created AVRO-1933:
Summary: SchemaCompatibility class could be more user-friendly
Issue Type: Improvement
Affects Versions: 1.8.1
Environment: Any Java env
Reporter: Anders Sundelin
Fix For: 1.9.0
Today, the class SchemaCompatibility reports incompatibilities with quite
little detail. The whole reader and the whole writer schema is listed, and no
particular detail about what was incompatible.
The attached patch fixes this, introducing a new enum
(SchemaIncompatibilityType), and more specific sub-schemas that were
The old, overall picture, is still there - the new compatibility state is
encapsulated in the SchemaCompatibilityDetails class.
Lots of test cases have been added, and there has been refactoring done in the
TestSchemaCompatibility and other test classes.
This message was sent by Atlassian JIRA