You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/08/18 22:53:12 UTC

[jira] Resolved: (AVRO-88) BlockingBinaryEncoder should override writeEnum() method

     [ https://issues.apache.org/jira/browse/AVRO-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting resolved AVRO-88.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1

I just committed this.  Thanks Ravi & Thiru!

> BlockingBinaryEncoder should override writeEnum() method
> --------------------------------------------------------
>
>                 Key: AVRO-88
>                 URL: https://issues.apache.org/jira/browse/AVRO-88
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>             Fix For: 1.0.1
>
>         Attachments: AVRO-88.patch, AVRO-88.patch
>
>
> When I was experimenting with BlockingBinaryEncoder to write objects into a file, I see that writeEnum() is missing in BlockingBinaryEncoder. So BinaryEncoder's writeEnum() was getting called. Where as all other things are written to buffer of BlockingBinaryEncoder, only enum is directly written to to outputStream, breaking the overall order in which objects are to be written to(as buffer is flushed only after reaching a limitSize).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.