flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] sunjincheng121 commented on a change in pull request #6805: [FLINK-10156][table] Deprecate Table.writeToSink()
Date Thu, 11 Oct 2018 01:27:14 GMT
sunjincheng121 commented on a change in pull request #6805: [FLINK-10156][table] Deprecate
Table.writeToSink()
URL: https://github.com/apache/flink/pull/6805#discussion_r224288252
 
 

 ##########
 File path: docs/dev/table/common.md
 ##########
 @@ -540,22 +536,17 @@ result.insertInto("CsvSinkTable");
 // get a TableEnvironment
 val tableEnv = TableEnvironment.getTableEnvironment(env)
 
+// register the TableSink with a specific schema
 
 Review comment:
   Add create `TableSink` instance logic .
   ```
   // create a TableSink
   val sink: TableSink = new CsvTableSink("/path/to/file", fieldDelim = "|")
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Mime
View raw message