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/13 08:55:00 UTC

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

Jark Wu created FLINK-15243:
-------------------------------

             Summary: 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
            Reporter: Jark Wu


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)