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

Bob Kwiencien updated AVRO-1376:
--------------------------------

    Attachment: bobo.avsc
                bobo.java

bobo.avsc is the avro schema definotionfile, and bobo.java is a silly little 
java program that will produce the issue.
                
> not in union ["string","null"]
> ------------------------------
>
>                 Key: AVRO-1376
>                 URL: https://issues.apache.org/jira/browse/AVRO-1376
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.1
>            Reporter: Bob Kwiencien
>            Priority: Minor
>         Attachments: bobo.avsc, bobo.java
>
>
> Caused by: org.apache.avro.AvroTypeException: Not in union ["string","null"]: 
> "hello lizard lips" in field desco of avro.bobo_types
> The string "hello lizard lips" is rejected. The schema definition is:
> {
>    "type": "record",
>    "namespace": "avro",
>    "name": "bobo_types",
>    "fields": [
>     {"name": "desco","type": ["string", "null"]}
>      ]
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to