From cd96c6dc9a3f59e9895cfef66c4b7ab9c90b27e3 Mon Sep 17 00:00:00 2001 From: zhilinli Date: Mon, 22 May 2023 15:50:19 +0800 Subject: [PATCH] [Docs][Connector-V2][Mysql] fix Mysql sink format doc --- 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 72b83f3c17e..be349168e6c 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