[
https://issues.apache.org/jira/browse/AVRO-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeff Hammerbacher updated AVRO-289:
-----------------------------------
Attachment: AVRO-289.patch
Here's some tests for:
# if both are records:
* the ordering of fields may be different: fields are matched by name.
* schemas for fields with the same name in both records are resolved
recursively.
* 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.
* if the reader's record schema has a field that contains a default value,
and writer's schema does not have a field with the same name, then the reader
should use the default value from its field.
* if the reader's record schema has a field with no default value, and
writer's schema does not have a field with the same name, then the field's
value is unset.
# if both are enums:
if the writer's symbol is not present in the reader's enum, then the enum's
value is unset.
> Add tests for schema resolution to new Python implementation
> ------------------------------------------------------------
>
> Key: AVRO-289
> URL: https://issues.apache.org/jira/browse/AVRO-289
> Project: Avro
> Issue Type: Test
> Components: python
> Reporter: Jeff Hammerbacher
> Assignee: Jeff Hammerbacher
> Attachments: AVRO-289.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.