Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.11.1
Description
Avro spec:
To match, one of the following must hold: ... * both schemas are records with the same (unqualified) name
Following records are compatible. The `ReaderWriterCompatibilityChecker` reports name mismatch and an incompatibility. Similar test case with Java implementation passes.
WITHOUT_NAMESPACE_RECORD = parse( json.dumps( { "type": SchemaType.RECORD, "name": "Record1", "fields": [ { "name": "f1", "type": "int", } ], }, ) ) WITH_NAMESPACE_RECORD = parse( json.dumps( { "type": SchemaType.RECORD, "name": "ns.Record1", "fields": [ { "name": "f1", "type": "int", } ], }, ) )
Attachments
Issue Links
- duplicates
-
AVRO-3561 [Python] Schema resolution fails with equivalent names
- Resolved
- links to