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