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:07:39 UTC
[jira] Created: (AVRO-227) Spec example for record serialization is
incorrect
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
{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.
[jira] Updated: (AVRO-227) Spec example for record serialization is
incorrect
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (AVRO-227) Spec example for record serialization is
incorrect
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-227:
------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
Assignee: Todd Lipcon
Status: Resolved (was: Patch Available)
I just committed this. Thanks, Todd.
> 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
> Assignee: Todd Lipcon
> Fix For: 1.3.0
>
> 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.
[jira] Updated: (AVRO-227) Spec example for record serialization is
incorrect
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated AVRO-227:
-----------------------------
Status: Patch Available (was: Open)
> 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.