You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/12/23 15:21:08 UTC

[GitHub] [flink] wuchong commented on a change in pull request #10661: [FLINK-15193][FLINK-15243][table][documentation] Move DDL to first tab in table connector page&Fix line feed in DDL

wuchong commented on a change in pull request #10661: [FLINK-15193][FLINK-15243][table][documentation] Move DDL to first tab in table connector page&Fix line feed in DDL
URL: https://github.com/apache/flink/pull/10661#discussion_r360918552
 
 

 ##########
 File path: docs/dev/table/connect.md
 ##########
 @@ -1857,7 +1858,8 @@ CREATE TABLE MyUserTable (
   'format.fields.1.data-type' = 'TIMESTAMP(3)',
 
   'format.field-delimiter' = ',',         -- optional: string delimiter "," by default
-  'format.line-delimiter' = '\n',         -- optional: string delimiter "\n" by default
+  'format.line-delimiter' = U&'\000A',    -- optional: string delimiter "\n" by default
+                                          -- NOTE: should use unicode to describe line feed.
 
 Review comment:
   What about 
   
   ```
   -- optional: string delimiter line feed by default, 
   -- unicode is supported if the delimiter is an invisible special character, 
   -- e.g. U&'\000A' is the unicode representation of line feed "\n"
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services