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/15 10:05:46 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15057663#comment-15057663 ]
Martin Kleppmann commented on AVRO-1617:
----------------------------------------
Looks good to me too. Thank you Skye. I will commit this soon if there are no objections.
> 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
> 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)