Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-88

BlockingBinaryEncoder should override writeEnum() method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • java
    • None

    Description

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

      Attachments

        1. AVRO-88.patch
          0.5 kB
          Ravi Gummadi
        2. AVRO-88.patch
          6 kB
          Thiruvalluvan M. G.

        Issue Links

          Activity

            People

              ravidotg Ravi Gummadi
              ravidotg Ravi Gummadi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: