David Perkins created FLINK-35097:
-------------------------------------
Summary: Table API Filesystem connector with 'raw' format repeats
last line
Key: FLINK-35097
URL: https://issues.apache.org/jira/browse/FLINK-35097
Project: Flink
Issue Type: Bug
Components: Connectors / FileSystem
Affects Versions: 1.17.1
Environment: I ran the above test with 1.17.1. I checked for existing
bug tickets and release notes, but did not find anything, so assuming this
effects 1.18 and 1.19.
Reporter: David Perkins
When using the Filesystem connector with 'raw' format to read text data that
contains new lines, a row is returned for every line, but always contains the
contents of the last line.
For example, with the following file.
{quote}
line 1
line 2
line 3
{quote}
And table definition
{quote}
create TABLE MyRawTable (
`doc` string,
) WITH (
'path' = 'file:///path/to/data',
'format' = 'raw',
'connector' = 'filesystem'
);
{quote}
Selecting `*` from the table produces three rows all with "line 3" for `doc`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)