avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Cataldo (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AVRO-1408) JsonDecoder fails when fields with default values are omitted
Date Fri, 13 Dec 2013 07:34:07 GMT

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

Adam Cataldo resolved AVRO-1408.
--------------------------------

      Resolution: Not A Problem
    Release Note: Thanks for the clarification Doug.

> JsonDecoder fails when fields with default values are omitted
> -------------------------------------------------------------
>
>                 Key: AVRO-1408
>                 URL: https://issues.apache.org/jira/browse/AVRO-1408
>             Project: Avro
>          Issue Type: Bug
>    Affects Versions: 1.7.4, 1.7.5
>            Reporter: Adam Cataldo
>
> Start with an IDL like
> protocol Foo {
>   record Bar {
>     int x;
>     int y = 0;
>   }
> }
> Then use JsonDecoder to deserialize:
> {"x":30}
> Bug: this fails because y is not provided.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message