[ 
https://issues.apache.org/jira/browse/AVRO-2116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

redlion updated AVRO-2116:
--------------------------
    Description: 
As the screenshot, I put two unknown field, one field 'unknown1' is under root 
level, and another field 'unknown2' is under the sub record startRule, when I 
try to parse this json . I got an error said: 
Expected Unkown fileds: [unkown2], Got FIELD_NAME.

!http://images-1254198035.file.myqcloud.com/avro_issue.png|height=350,width=550!



  was:
As the screenshot, I put two unknown field, one field 'unknown1' is under root 
level, and another field 'unknown2' is under the sub record startRule, when I 
try to parse this json . I got an error said: 
Expected Unkown fileds: [unkown2], Got FIELD_NAME.

!http://images-1254198035.file.myqcloud.com/avro_issue.png|height=450,width=450!




> unknown fields in json not ignored
> ----------------------------------
>
>                 Key: AVRO-2116
>                 URL: https://issues.apache.org/jira/browse/AVRO-2116
>             Project: Avro
>          Issue Type: Bug
>    Affects Versions: 1.8.1
>         Environment: java 1.8
>            Reporter: redlion
>
> As the screenshot, I put two unknown field, one field 'unknown1' is under 
> root level, and another field 'unknown2' is under the sub record startRule, 
> when I try to parse this json . I got an error said: 
> Expected Unkown fileds: [unkown2], Got FIELD_NAME.
> !http://images-1254198035.file.myqcloud.com/avro_issue.png|height=350,width=550!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to