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

DelimitedInputFormat does not correctly handle multi-byte delimiters

    XMLWordPrintableJSON

Details

    Description

      The DelimitedInputFormat does not correctly handle multi-byte delimiters.

      The reader sometimes misses a delimiter if it is preceded by the first byte from the delimiter. This results in two records (or more) being returned from a single call to nextRecord.

      See attached test case.

      Attachments

        1. Test.java
          1 kB
          Colin Breame
        2. test.txt
          0.0 kB
          Colin Breame

        Issue Links

          Activity

            People

              fhueske Fabian Hueske
              colinbreame Colin Breame
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: