This is an automated email from the ASF dual-hosted git repository.
kirs 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 a25ec0cd8 [DOC]Optimizes part of the Doris and SelectDB connector
documentation (#4365)
a25ec0cd8 is described below
commit a25ec0cd881c6b0197abe689e42ab1b8b1c07797
Author: yongkang.zhong <[email protected]>
AuthorDate: Fri Mar 17 14:48:08 2023 +0800
[DOC]Optimizes part of the Doris and SelectDB connector documentation
(#4365)
---
docs/en/connector-v2/sink/Doris.md | 4 ++--
docs/en/connector-v2/sink/SelectDB-Cloud.md | 33 +++++++++++++++++------------
2 files changed, 22 insertions(+), 15 deletions(-)
diff --git a/docs/en/connector-v2/sink/Doris.md
b/docs/en/connector-v2/sink/Doris.md
index acffad6a7..dc6ed4158 100644
--- a/docs/en/connector-v2/sink/Doris.md
+++ b/docs/en/connector-v2/sink/Doris.md
@@ -82,7 +82,7 @@ Use JSON format to import data
```
sink {
Doris {
- fenodes = ["e2e_dorisdb:8030"]
+ fenodes = "e2e_dorisdb:8030"
username = root
password = ""
table.identifier = "test.e2e_table_sink"
@@ -102,7 +102,7 @@ Use CSV format to import data
```
sink {
Doris {
- fenodes = ["e2e_dorisdb:8030"]
+ fenodes = "e2e_dorisdb:8030"
username = root
password = ""
table.identifier = "test.e2e_table_sink"
diff --git a/docs/en/connector-v2/sink/SelectDB-Cloud.md
b/docs/en/connector-v2/sink/SelectDB-Cloud.md
index 4ab7679e0..4970dc4d0 100644
--- a/docs/en/connector-v2/sink/SelectDB-Cloud.md
+++ b/docs/en/connector-v2/sink/SelectDB-Cloud.md
@@ -22,18 +22,19 @@ Version Supported
## Options
-| name | type | required | default value |
-|-------------------|--------|----------|------------------------|
-| load-url | string | yes | - |
-| jdbc-url | string | yes | - |
-| cluster-name | string | yes | - |
-| username | string | yes | - |
-| password | string | yes | - |
-| table.identifier | string | yes | - |
-| selectdb.config | map | yes | - |
-| sink.buffer-size | int | no | 10 * 1024 * 1024 (1MB) |
-| sink.buffer-count | int | no | 10000 |
-| sink.max-retries | int | no | 3 |
+| name | type | required | default value |
+|--------------------|--------|----------|------------------------|
+| load-url | string | yes | - |
+| jdbc-url | string | yes | - |
+| cluster-name | string | yes | - |
+| username | string | yes | - |
+| password | string | yes | - |
+| table.identifier | string | yes | - |
+| sink.enable-delete | bool | no | false |
+| selectdb.config | map | yes | - |
+| sink.buffer-size | int | no | 10 * 1024 * 1024 (1MB) |
+| sink.buffer-count | int | no | 10000 |
+| sink.max-retries | int | no | 3 |
### load-url [string]
@@ -59,7 +60,13 @@ Version Supported
The name of `SelectDB Cloud` table, the format is `database.table`
-### sink.properties [string]
+### sink.enable-delete [string]
+
+Whether to enable deletion. This option requires SelectDB Cloud table to
enable batch delete function, and only supports Unique model.
+
+`ALTER TABLE example_db.my_table ENABLE FEATURE "BATCH_DELETE";`
+
+### selectdb.config [map]
Write property configuration