Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-5561

DataInputDeserializer#available returns one too few

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0, 1.3.0
    • Component/s: None
    • Labels:
      None

      Description

      DataInputDeserializer#available seems to assume that the position points to the last read byte but instead it points to the next byte. Therefore, it returns a value which is 1 smaller than the correct one.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                NicoK Nico Kruber
                Reporter:
                NicoK Nico Kruber
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: