You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Adric Eckstein (JIRA)" <ji...@apache.org> on 2019/08/05 20:59:00 UTC
[jira] [Created] (FLINK-13589) DelimitedInputFormat index error on
multi-byte delimiters with whole file input splits
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)