You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "François Lacombe (JIRA)" <ji...@apache.org> on 2018/07/13 13:54:00 UTC

[jira] [Updated] (FLINK-9814) CsvTableSource "lack of column" warning

     [ https://issues.apache.org/jira/browse/FLINK-9814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

François Lacombe updated FLINK-9814:
------------------------------------
    Description: 
The CsvTableSource class is built by defining expected columns to be find in the corresponding csv file.

 

It would be great to throw an Exception when the csv file doesn't have the same structure as defined in the source. For retro-compatibility sake, developers should explicitly set the builder to define columns stricly and expect Exception to be thrown in case of structure difference.

It can be easilly checked with file header if it exists.

Is this possible ?

  was:
The CsvTableSource class is built by defining expected columns to be find in the corresponding csv file.

 

It would be great to throw an Exception when the csv file doesn't have the same structure as defined in the source.

It can be easilly checked with file header if it exists.

Is this possible ?

        Summary: CsvTableSource "lack of column" warning  (was: CsvTableSource lack of column warning)

> CsvTableSource "lack of column" warning
> ---------------------------------------
>
>                 Key: FLINK-9814
>                 URL: https://issues.apache.org/jira/browse/FLINK-9814
>             Project: Flink
>          Issue Type: Wish
>          Components: Table API &amp; SQL
>    Affects Versions: 1.5.0
>            Reporter: François Lacombe
>            Assignee: vinoyang
>            Priority: Minor
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> The CsvTableSource class is built by defining expected columns to be find in the corresponding csv file.
>  
> It would be great to throw an Exception when the csv file doesn't have the same structure as defined in the source. For retro-compatibility sake, developers should explicitly set the builder to define columns stricly and expect Exception to be thrown in case of structure difference.
> It can be easilly checked with file header if it exists.
> Is this possible ?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)