avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Kwiencien (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1376) not in union ["string","null"]
Date Wed, 11 Sep 2013 17:26:53 GMT

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

Bob Kwiencien commented on AVRO-1376:
-------------------------------------

Thanks.
                
> 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

Mime
View raw message