Tom White created AVRO-1525:
-------------------------------
Summary: 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
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)