You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2019/12/23 08:38:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17002158#comment-17002158 ]
Jingsong Lee commented on FLINK-15243:
--------------------------------------
PR in: [https://github.com/apache/flink/pull/10661]
> 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)