You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by fa...@apache.org on 2022/07/07 02:02:37 UTC

[incubator-seatunnel] branch dev updated: fix the doc error (#2143)

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

fanjia pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new b0e420489 fix the doc error (#2143)
b0e420489 is described below

commit b0e4204890a2f4aff08c27c488bc97c287b8303a
Author: Eric <ga...@gmail.com>
AuthorDate: Thu Jul 7 10:02:31 2022 +0800

    fix the doc error (#2143)
---
 docs/en/connector-v2/sink/File.mdx | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/docs/en/connector-v2/sink/File.mdx b/docs/en/connector-v2/sink/File.mdx
index 71e7631c6..cf92d188b 100644
--- a/docs/en/connector-v2/sink/File.mdx
+++ b/docs/en/connector-v2/sink/File.mdx
@@ -7,15 +7,6 @@ import TabItem from '@theme/TabItem';
 
 Output data to local or hdfs or s3 file.
 
-:::tip
-
-Used to write data to file. Supports Batch and Streaming mode.
-
-* [x] Batch
-* [x] Streaming
-
-:::
-
 ## Options
 
 <Tabs
@@ -36,7 +27,7 @@ Used to write data to file. Supports Batch and Streaming mode.
 | field_delimiter                   | string | no       | '\001'                                                        |
 | row_delimiter                     | string | no       | "\n"                                                          |
 | partition_by                      | array  | no       | -                                                             |
-| partition_dir_expression          | string | no       | "${k0}=${v0}/${k1}=${v1}/.../${kn}=${vn}/"                    |
+| partition_dir_expression          | string | no       | "\${k0}=\${v0}\/\${k1}=\${v1}\/...\/\${kn}=\${vn}\/"          |
 | is_partition_field_write_in_file  | boolean| no       | false                                                         |
 | sink_columns                      | array  | no       | When this parameter is empty, all fields are sink columns     |
 | is_enable_transaction             | boolean| no       | true                                                          |
@@ -129,7 +120,7 @@ Streaming Job not support `overwrite`.
 | field_delimiter                   | string | no       | '\001'                                                        |
 | row_delimiter                     | string | no       | "\n"                                                          |
 | partition_by                      | array  | no       | -                                                             |
-| partition_dir_expression          | string | no       | "${k0}=${v0}/${k1}=${v1}/.../${kn}=${vn}/"                    |
+| partition_dir_expression          | string | no       | "\${k0}=\${v0}\/\${k1}=\${v1}\/...\/\${kn}=\${vn}\/"          |
 | is_partition_field_write_in_file  | boolean| no       | false                                                         |
 | sink_columns                      | array  | no       | When this parameter is empty, all fields are sink columns     |
 | is_enable_transaction             | boolean| no       | true                                                          |