avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-88) BlockingBinaryEncoder should override writeEnum() method
Date Tue, 11 Aug 2009 23:00:14 GMT

    [ https://issues.apache.org/jira/browse/AVRO-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742113#action_12742113

Doug Cutting commented on AVRO-88:

Thiru, can you please review this?

> 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
>         Attachments: 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.

View raw message