[ 
https://issues.apache.org/jira/browse/FLINK-35097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17836959#comment-17836959
 ] 

Kumar Mallikarjuna edited comment on FLINK-35097 at 4/14/24 3:05 PM:
---------------------------------------------------------------------

[~david.perkins] , I've raised a fix here:

[https://github.com/apache/flink/pull/24661]

 

I just realised, I need to look for a committer and get the issue assigned 
first!


was (Author: JIRAUSER303984):
[~david.perkins] , I've raised a fix here:

https://github.com/apache/flink/pull/24661

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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)

Reply via email to