You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2009/11/20 07:11:39 UTC
[jira] Updated: (AVRO-227) Spec example for record serialization is
incorrect
[ https://issues.apache.org/jira/browse/AVRO-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated AVRO-227:
-----------------------------
Attachment: avro-227.txt
patch to spec docs
> Spec example for record serialization is incorrect
> --------------------------------------------------
>
> Key: AVRO-227
> URL: https://issues.apache.org/jira/browse/AVRO-227
> Project: Avro
> Issue Type: Bug
> Components: spec
> Affects Versions: 1.2.0
> Reporter: Todd Lipcon
> Attachments: avro-227.txt
>
>
> {quote}
> An instance of this record whose a field has value 27 (encoded as hex 36) and whose b field has value "foo" (encoded as hex bytes OC 66 6f 6f), would be encoded simply as the concatenation of these ...
> {quote}
> but "foo" should be encoded as zigzag(3) followed by "foo". zigzag(3) is 0x06, not 0x0c
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.