[
https://issues.apache.org/jira/browse/FLINK-35097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Walther closed FLINK-35097.
--------------------------------
Fix Version/s: 1.18.2
1.20.0
1.19.1
Resolution: Fixed
Fixed in master:
3a56c2f7cccc796557328ef33b6caae57bca5c18
8ffe6d698fb4f37c68a3914e3903dc874dfcb999
51d015b570497c57f56bea64371ecec23fd454c1
Fixed in 1.19:
e7816f714ef5298e1ca978aeddf62732794bb93f
Fixed in 1.18:
cf216f03c71433d21af39d125b4ff9d804cb0b38
> 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
> Assignee: Kumar Mallikarjuna
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.18.2, 1.20.0, 1.19.1
>
>
> 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)