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] [Created] (AVRO-1376) not in union ["string","null"]
Date Wed, 11 Sep 2013 15:19:51 GMT
Bob Kwiencien created AVRO-1376:
-----------------------------------

             Summary: 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


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