avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiruvalluvan M. G. (JIRA)" <j...@apache.org>
Subject [jira] Created: (AVRO-79) The spec does not say how to encode default values for "fixed"
Date Sat, 18 Jul 2009 04:30:14 GMT
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.


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.


Mime
View raw message