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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)