You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2019/12/24 02:59:00 UTC

[jira] [Resolved] (FLINK-15243) Add documentation about how to set line feed as delimiter for csv format

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

Jark Wu resolved FLINK-15243.
-----------------------------
    Resolution: Fixed

1.11.0: 393b91ffde7c4994d5330f1e6071977d2ee582fa
1.10.0: 3b39586a296f9a8d35d5d365c2026864f1d5ff13

> Add documentation about how to set line feed as delimiter for csv format
> ------------------------------------------------------------------------
>
>                 Key: FLINK-15243
>                 URL: https://issues.apache.org/jira/browse/FLINK-15243
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation, Table SQL / API
>            Reporter: Jark Wu
>            Priority: Major
>             Fix For: 1.10.0
>
>
> As described in documentation[1], a csv format can use {{'format.line-delimiter' = '\n'}} to specify line delimiter. However, the property value is parsed into two characters "\n" , this result to reading failed. 
> The correct way is using unicode as following:
> {code:java}
> 'format.line-delimiter' = U&'\000A'   -- line feed unicode
> {code}
> We should update documentation for this.
> [1]: https://ci.apache.org/projects/flink/flink-docs-master/dev/table/connect.html#old-csv-format



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