avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Nine (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-2034) Nested schema types with unexpected fields causes json parse failure
Date Thu, 11 May 2017 18:31:04 GMT

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

Todd Nine updated AVRO-2034:
----------------------------
    Description: 
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 type with additional field
# any subsequent nested type.  Using a regular field following the nested type does not appear
to reproduce the problem.

I'm currently working on a fix. 

  was:
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.


Note that this only occurs when the following pattern exists in the schema.

# regular field
# nested type with additional field
# any subsequent nested type.  Using a regular field following the nested type does not appear
to reproduce the problem.

I'm currently working on a fix. 


> Nested schema types with unexpected fields causes json parse failure
> --------------------------------------------------------------------
>
>                 Key: AVRO-2034
>                 URL: https://issues.apache.org/jira/browse/AVRO-2034
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.8.1
>            Reporter: Todd Nine
>
> 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 type with additional field
> # any subsequent nested type.  Using a regular field following the nested type does not
appear to reproduce the problem.
> I'm currently working on a fix. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message