You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kurt Young (Jira)" <ji...@apache.org> on 2019/11/22 06:29:00 UTC

[jira] [Commented] (FLINK-14924) CsvTableSource can not config empty column as null

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

Kurt Young commented on FLINK-14924:
------------------------------------

we met this problem before in blink, you can check this codes: [https://github.com/apache/flink/blob/blink/flink-java/src/main/java/org/apache/flink/api/java/io/AbstractRowCsvInputFormat.java]

we added an `emptyColumnAsNull` option in csv input format in blink. 

> CsvTableSource can not config empty column as null
> --------------------------------------------------
>
>                 Key: FLINK-14924
>                 URL: https://issues.apache.org/jira/browse/FLINK-14924
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>    Affects Versions: 1.9.1
>            Reporter: Leonard Xu
>            Priority: Major
>             Fix For: 1.10.0
>
>
> CsvTableSource can not config empty column as null, 
> and convert  to empty string by default.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)