[jira] [Created] (FLINK-13589) DelimitedInputFormat index error on multi-byte delimiters with whole file input splits

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13589) DelimitedInputFormat index error on multi-byte delimiters with whole file input splits

Shang Yuanchun (Jira)
Adric Eckstein created FLINK-13589:
--------------------------------------

             Summary: DelimitedInputFormat index error on multi-byte delimiters with whole file input splits
                 Key: FLINK-13589
                 URL: https://issues.apache.org/jira/browse/FLINK-13589
             Project: Flink
          Issue Type: Bug
          Components: Connectors / FileSystem
    Affects Versions: 1.8.1
            Reporter: Adric Eckstein
         Attachments: delimiter-bug.patch

The DelimitedInputFormat can drops bytes when using input splits that have a length of -1 (for reading the whole file).  It looks like this is a simple bug in handing the delimiter on buffer boundaries where the logic is inconsistent for different split types.

Attached is a possible patch with fix and test.

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)