avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1525) Java: ReflectData cannot resolve union with fixed
Date Thu, 12 Jun 2014 10:00:08 GMT

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

Hudson commented on AVRO-1525:
------------------------------

SUCCESS: Integrated in AvroJava #459 (See [https://builds.apache.org/job/AvroJava/459/])
AVRO-1525. Java: ReflectData cannot resolve union with fixed. (tomwhite: rev 1602095)
* /avro/trunk/CHANGES.txt
* /avro/trunk/lang/java/avro/src/main/java/org/apache/avro/reflect/ReflectData.java
* /avro/trunk/lang/java/avro/src/test/java/org/apache/avro/reflect/TestReflect.java


> 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
>             Fix For: 1.7.7
>
>         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