[ https://issues.apache.org/jira/browse/AVRO-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16717682#comment-16717682 ]
ASF subversion and git services commented on AVRO-2034: ------------------------------------------------------- Commit d55f5e152c288a2037d65d15a7169d76aa9be2be in avro's branch refs/heads/master from [~tnine] [ https://gitbox.apache.org/repos/asf?p=avro.git;h=d55f5e1 ] AVRO-2034 Nested schema types with unexpected fields causes json parse failure (#224) * AVRO-2034 Created test to prove issue * AVRO-2034. Updates test to show a working record vs a failing record in the simplest possible scheme. * AVRO-2034 Fixes advance logic to skip unrecognized fields at record end > Nested schema types with unexpected fields causes json parse failure > -------------------------------------------------------------------- > > Key: AVRO-2034 > URL: https://issues.apache.org/jira/browse/AVRO-2034 > Project: Apache Avro > Issue Type: Bug > Components: java > Affects Versions: 1.8.1 > Reporter: Todd Nine > Priority: Major > > When parsing a nested type with an unexpected field using the JSON parser, > this results in an error. To reproduce, see the class {{TestNestedRecords}} > in the referenced PR. > https://github.com/apache/avro/pull/224 > Note that this only occurs when the following pattern exists in the schema. > # regular field > # nested record with additional field > # Any subsequent field following the nested record with an unexpected field > appears to reproduce the problem. -- This message was sent by Atlassian JIRA (v7.6.3#76005)