avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1525) Java: ReflectData cannot resolve union with fixed
Date Wed, 11 Jun 2014 20:04:02 GMT

    [ https://issues.apache.org/jira/browse/AVRO-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028318#comment-14028318
] 

Doug Cutting commented on AVRO-1525:
------------------------------------

+1

> Java: ReflectData cannot resolve union with fixed
> -------------------------------------------------
>
>                 Key: AVRO-1525
>                 URL: https://issues.apache.org/jira/browse/AVRO-1525
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.6
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: AVRO-1525.patch
>
>
> Writing records with the following schema fail when using the Reflect API:
> {code}
> {
>   "type" : "record",
>   "name" : "simple_schema",
>   "namespace" : "com.foo.bar",
>   "fields" : [ {
>     "name" : "foo",
>     "type" : {
>       "type" : "fixed",
>       "name" : "bar",
>       "size" : 2
>     }
>   }, {
>     "name" : "baz",
>     "type" : [ "null", "bar" ],
>     "default" : null
>   } ]
> }
> {code}
> This was found by Harsh J Chouraria.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message