avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-90) json encoding does not encode unions correctly
Date Fri, 14 Aug 2009 19:14:14 GMT

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

Doug Cutting updated AVRO-90:
-----------------------------

    Assignee: Doug Cutting  (was: Thiruvalluvan M. G.)
      Status: Patch Available  (was: Open)

Sorry, Thiru, I hope you haven't already started working on this!

> json encoding does not encode unions correctly
> ----------------------------------------------
>
>                 Key: AVRO-90
>                 URL: https://issues.apache.org/jira/browse/AVRO-90
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.0.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: AVRO-90.patch
>
>
> The Json encoding implemented in Java does not encode unions as intended.  In particular:
>   - branches are labeled with their Java type enum name (all caps) rather than their
Json type name (lowercase)
>   - branches for named types (records, enums, fixed) are labeled with the type rather
than the name
>   - nulls are labelled -- a null value for a union should be untagged

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message