Ryan Blue created AVRO-1604:
-------------------------------

             Summary: ReflectData.AllowNull fails to generate schemas when 
@Nullable is present.
                 Key: AVRO-1604
                 URL: https://issues.apache.org/jira/browse/AVRO-1604
             Project: Avro
          Issue Type: Bug
            Reporter: Ryan Blue


The {{@Nullable}} annotation causes a failure because the 
{{makeNullable(Schema)}} method assumes that the type passed in is not already 
a union. When it is a union, either from using {{Nullable}}, {{AvroSchema}}, or 
a {{Union}}-annotated type, an exception is thrown that unions can't contain 
unions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to