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

Reply via email to