You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2019/12/31 01:48:25 UTC

[flink] branch release-1.10 updated: [FLINK-15425][csv][docs] Improve docs that only old CSV format is supported in filesystem connector (#10718)

This is an automated email from the ASF dual-hosted git repository.

jark pushed a commit to branch release-1.10
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.10 by this push:
     new a7e8218  [FLINK-15425][csv][docs] Improve docs that only old CSV format is supported in filesystem connector (#10718)
a7e8218 is described below

commit a7e8218c7e935be04829e8d78e68442e46cfa2b6
Author: Leonard Xu <xb...@163.com>
AuthorDate: Tue Dec 31 09:46:29 2019 +0800

    [FLINK-15425][csv][docs] Improve docs that only old CSV format is supported in filesystem connector (#10718)
---
 docs/dev/table/connect.md    | 16 ++++++++--------
 docs/dev/table/connect.zh.md | 16 ++++++++--------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/docs/dev/table/connect.md b/docs/dev/table/connect.md
index fac2692..dc94152 100644
--- a/docs/dev/table/connect.md
+++ b/docs/dev/table/connect.md
@@ -650,7 +650,7 @@ Please note that not all connectors are available in both batch and streaming ye
 <span class="label label-primary">Source: Streaming Append Mode</span>
 <span class="label label-primary">Sink: Batch</span>
 <span class="label label-primary">Sink: Streaming Append Mode</span>
-<span class="label label-info">Format: CSV-only</span>
+<span class="label label-info">Format: OldCsv-only</span>
 
 The file system connector allows for reading and writing from a local or distributed filesystem. A filesystem can be defined as:
 
@@ -664,7 +664,7 @@ CREATE TABLE MyUserTable (
   'connector.path' = 'file:///path/to/whatever',  -- required: path to a file or directory
   'format.type' = '...',                          -- required: file system connector requires to specify a format,
   ...                                             -- currently only 'csv' format is supported.
-                                                  -- Please refer to Table Formats section for more details.
+                                                  -- Please refer to old CSV format part of Table Formats section for more details.
 )                                               
 {% endhighlight %}
 </div>
@@ -676,8 +676,8 @@ CREATE TABLE MyUserTable (
     .path("file:///path/to/whatever")    // required: path to a file or directory
 )
 .withFormat(                             // required: file system connector requires to specify a format,
-  ...                                    // currently only Csv format is supported.
-)                                        // Please refer to Table Formats section for more details.
+  ...                                    // currently only OldCsv format is supported.
+)                                        // Please refer to old CSV format part of Table Formats section for more details.
 {% endhighlight %}
 </div>
 
@@ -688,8 +688,8 @@ CREATE TABLE MyUserTable (
     .path("file:///path/to/whatever")  # required: path to a file or directory
 )
 .withFormat(                           # required: file system connector requires to specify a format,
-  ...                                  # currently only Csv format is supported.
-)                                      # Please refer to Table Formats section for more details.
+  ...                                  # currently only OldCsv format is supported.
+)                                      # Please refer to old CSV format part of Table Formats section for more details.
 {% endhighlight %}
 </div>
 
@@ -699,8 +699,8 @@ connector:
   type: filesystem
   path: "file:///path/to/whatever"    # required: path to a file or directory
 format:                               # required: file system connector requires to specify a format,
-  ...                                 # currently only "csv" format is supported.
-                                      # Please refer to Table Formats section for more details.
+  ...                                 # currently only 'csv' format is supported.
+                                      # Please refer to old CSV format part of Table Formats section for more details.
 {% endhighlight %}
 </div>
 </div>
diff --git a/docs/dev/table/connect.zh.md b/docs/dev/table/connect.zh.md
index fac2692..dc94152 100644
--- a/docs/dev/table/connect.zh.md
+++ b/docs/dev/table/connect.zh.md
@@ -650,7 +650,7 @@ Please note that not all connectors are available in both batch and streaming ye
 <span class="label label-primary">Source: Streaming Append Mode</span>
 <span class="label label-primary">Sink: Batch</span>
 <span class="label label-primary">Sink: Streaming Append Mode</span>
-<span class="label label-info">Format: CSV-only</span>
+<span class="label label-info">Format: OldCsv-only</span>
 
 The file system connector allows for reading and writing from a local or distributed filesystem. A filesystem can be defined as:
 
@@ -664,7 +664,7 @@ CREATE TABLE MyUserTable (
   'connector.path' = 'file:///path/to/whatever',  -- required: path to a file or directory
   'format.type' = '...',                          -- required: file system connector requires to specify a format,
   ...                                             -- currently only 'csv' format is supported.
-                                                  -- Please refer to Table Formats section for more details.
+                                                  -- Please refer to old CSV format part of Table Formats section for more details.
 )                                               
 {% endhighlight %}
 </div>
@@ -676,8 +676,8 @@ CREATE TABLE MyUserTable (
     .path("file:///path/to/whatever")    // required: path to a file or directory
 )
 .withFormat(                             // required: file system connector requires to specify a format,
-  ...                                    // currently only Csv format is supported.
-)                                        // Please refer to Table Formats section for more details.
+  ...                                    // currently only OldCsv format is supported.
+)                                        // Please refer to old CSV format part of Table Formats section for more details.
 {% endhighlight %}
 </div>
 
@@ -688,8 +688,8 @@ CREATE TABLE MyUserTable (
     .path("file:///path/to/whatever")  # required: path to a file or directory
 )
 .withFormat(                           # required: file system connector requires to specify a format,
-  ...                                  # currently only Csv format is supported.
-)                                      # Please refer to Table Formats section for more details.
+  ...                                  # currently only OldCsv format is supported.
+)                                      # Please refer to old CSV format part of Table Formats section for more details.
 {% endhighlight %}
 </div>
 
@@ -699,8 +699,8 @@ connector:
   type: filesystem
   path: "file:///path/to/whatever"    # required: path to a file or directory
 format:                               # required: file system connector requires to specify a format,
-  ...                                 # currently only "csv" format is supported.
-                                      # Please refer to Table Formats section for more details.
+  ...                                 # currently only 'csv' format is supported.
+                                      # Please refer to old CSV format part of Table Formats section for more details.
 {% endhighlight %}
 </div>
 </div>