You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ga...@apache.org on 2023/05/23 09:12:21 UTC
[seatunnel] branch dev updated: [Docs][Connector-V2][Mysql] fix Mysql sink format doc (#4800)
This is an automated email from the ASF dual-hosted git repository.
gaojun2048 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new cce371aa5 [Docs][Connector-V2][Mysql] fix Mysql sink format doc (#4800)
cce371aa5 is described below
commit cce371aa574c3bd57e649e8a739b0db4f1d0dc25
Author: ZhilinLi <zh...@gmail.com>
AuthorDate: Tue May 23 17:12:14 2023 +0800
[Docs][Connector-V2][Mysql] fix Mysql sink format doc (#4800)
---
docs/en/connector-v2/sink/Mysql.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/en/connector-v2/sink/Mysql.md b/docs/en/connector-v2/sink/Mysql.md
index 72b83f3c1..be349168e 100644
--- a/docs/en/connector-v2/sink/Mysql.md
+++ b/docs/en/connector-v2/sink/Mysql.md
@@ -130,7 +130,10 @@ sink {
}
```
+### Generate Sink SQL
+
> This example not need to write complex sql statements, you can configure the database name table name to automatically generate add statements for you
+
```
sink {
jdbc {
@@ -138,7 +141,7 @@ sink {
driver = "com.mysql.cj.jdbc.Driver"
user = "root"
password = "123456"
-
+ # Automatically generate sql statements based on database table names
generate_sink_sql = true
database = test
table = test_table