You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Martin Kleppmann (JIRA)" <ji...@apache.org> on 2015/12/30 16:46:49 UTC
[jira] [Updated] (AVRO-1617) C library: schema_record_equal can
return true if schemas have different # of fields
[ https://issues.apache.org/jira/browse/AVRO-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Kleppmann updated AVRO-1617:
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
Status: Resolved (was: Patch Available)
I have committed this to branch-1.8 and trunk. Thanks for your contribution, [~skye]!
> C library: schema_record_equal can return true if schemas have different # of fields
> ------------------------------------------------------------------------------------
>
> Key: AVRO-1617
> URL: https://issues.apache.org/jira/browse/AVRO-1617
> Project: Avro
> Issue Type: Bug
> Components: c
> Affects Versions: 1.7.7
> Reporter: Skye Wanderman-Milne
> Assignee: Skye Wanderman-Milne
> Fix For: 1.8.0
>
> Attachments: AVRO-1617.patch
>
>
> schema_record_equal(a, b) will return true if schema b contains more fields than schema a, as long as b contains all of a's fields. It should return false in this case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)