You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2009/07/18 06:32:15 UTC

[jira] Updated: (AVRO-79) The spec does not say how to encode default values for "fixed"

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

Thiruvalluvan M. G. updated AVRO-79:
------------------------------------

    Attachment: AVRO-79.patch

> The spec does not say how to encode default values for "fixed"
> --------------------------------------------------------------
>
>                 Key: AVRO-79
>                 URL: https://issues.apache.org/jira/browse/AVRO-79
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>         Attachments: AVRO-79.patch
>
>
> The spec is silent on how to encode default values for "fixed" type in schema. The code in GenericDatumReader suggests that that it should be encoded as a JSON string with Java's platform default charset. A more appropriate way is to encode "fixed" in the same way as binary, that is a string with ISO-8859-1.
> I'll submit a patch for this soon.

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