leonardBang commented on a change in pull request #14675:
URL: https://github.com/apache/flink/pull/14675#discussion_r560663060



##########
File path: docs/dev/table/connectors/jdbc.zh.md
##########
@@ -31,35 +31,33 @@ under the License.
 * This will be replaced by the TOC
 {:toc}
 
-The JDBC connector allows for reading data from and writing data into any 
relational databases with a JDBC driver. This document describes how to setup 
the JDBC connector to run SQL queries against relational databases.
+JDBC连接器允许使用JDBC驱动向任意类型的关系型数据库读取或者写入数据。本文档描述了针对关系型数据库如何通过建立JDBC连接器来执行SQL查询。
 
-The JDBC sink operate in upsert mode for exchange UPDATE/DELETE messages with 
the external system if a primary key is defined on the DDL, otherwise, it 
operates in append mode and doesn't support to consume UPDATE/DELETE messages.
+如果一个主键定义在 DDL 中,JDBC sink 将以 upsert 模式与外部系统交换 UPDATE/DELETE 消息;否则,它将以appened 
模式与外部系统交换消息且不支持消费 UPDATE/DELETE 消息。
 
-Dependencies
+
+依赖
 ------------
 
 {% assign connector = site.data.sql-connectors['jdbc'] %} 
-{% include sql-connector-download-table.zh.html 
-    connector=connector
-%}
+{% include sql-connector-download-table.zh.html connector='connector' %}
 
 <br>
-A driver dependency is also required to connect to a specified database. Here 
are drivers currently supported:
+在连接到具体数据库时,也需要对应的驱动依赖,目前支持的驱动如下:
 
 | Driver      |      Group Id      |      Artifact Id       |      JAR         
|
 | :-----------| :------------------| :----------------------| 
:----------------|
-| MySQL       |       `mysql`      | `mysql-connector-java` | 
[Download](https://repo.maven.apache.org/maven2/mysql/mysql-connector-java/) |
-| PostgreSQL  |  `org.postgresql`  |      `postgresql`      | 
[Download](https://jdbc.postgresql.org/download.html) |
-| Derby       | `org.apache.derby` |        `derby`         | 
[Download](http://db.apache.org/derby/derby_downloads.html) |
+| MySQL       |       `mysql`      | `mysql-connector-java` | 
[下载](https://repo.maven.apache.org/maven2/mysql/mysql-connector-java/) |
+| PostgreSQL  |  `org.postgresql`  |      `postgresql`      | 
[下载](https://jdbc.postgresql.org/download.html) |
+| Derby       | `org.apache.derby` |        `derby`         | 
[下载](http://db.apache.org/derby/derby_downloads.html) |
 
 <br>
-JDBC connector and drivers are not currently part of Flink's binary 
distribution. See how to link with them for cluster execution [here]({% link 
dev/project-configuration.zh.md %}).
-
+当前,JDBC 连接器和驱动不在 Flink 二进制发布包中,请参阅 [这里]({% link 
dev/project-configuration.zh.md %}) 了解在集群上执行时何连接它们。
 
-How to create a JDBC table
+如何创建 JDBC table

Review comment:
       ```suggestion
   如何创建 JDBC 表
   ```

##########
File path: docs/dev/table/connectors/jdbc.zh.md
##########
@@ -92,210 +90,206 @@ ON myTopic.key = MyUserTable.id;
 </div>
 </div>
 
-Connector Options
+连接器参数选项

Review comment:
       ```suggestion
   连接器参数
   ```

##########
File path: docs/dev/table/connectors/jdbc.zh.md
##########
@@ -92,210 +90,206 @@ ON myTopic.key = MyUserTable.id;
 </div>
 </div>
 
-Connector Options
+连接器参数选项
 ----------------
 
 <table class="table table-bordered">
     <thead>
       <tr>
-        <th class="text-left" style="width: 25%">Option</th>
-        <th class="text-left" style="width: 8%">Required</th>
-        <th class="text-left" style="width: 7%">Default</th>
-        <th class="text-left" style="width: 10%">Type</th>
-        <th class="text-left" style="width: 50%">Description</th>
+        <th class="text-left" style="width: 25%">选项</th>

Review comment:
       和其他中文文档保持一致吧

##########
File path: docs/dev/table/connectors/jdbc.zh.md
##########
@@ -92,210 +90,206 @@ ON myTopic.key = MyUserTable.id;
 </div>
 </div>
 
-Connector Options
+连接器参数选项
 ----------------
 
 <table class="table table-bordered">
     <thead>
       <tr>
-        <th class="text-left" style="width: 25%">Option</th>
-        <th class="text-left" style="width: 8%">Required</th>
-        <th class="text-left" style="width: 7%">Default</th>
-        <th class="text-left" style="width: 10%">Type</th>
-        <th class="text-left" style="width: 50%">Description</th>
+        <th class="text-left" style="width: 25%">选项</th>

Review comment:
       ```suggestion
           <th class="text-left" style="width: 25%">参数</th>
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to