hailin0 commented on code in PR #5581:
URL: https://github.com/apache/seatunnel/pull/5581#discussion_r1366678903


##########
docs/en/connector-v2/source/Jdbc.md:
##########
@@ -98,6 +106,54 @@ improve performance by reducing the number database hits 
required to satisfy the
 
 Additional connection configuration parameters,when properties and URL have 
the same parameters, the priority is determined by the <br/>specific 
implementation of the driver. For example, in MySQL, properties take precedence 
over the URL.
 
+### table_path
+
+The path to the full path of table, you can use this configuration instead of 
`query`.
+
+examples:
+- mysql: "testdb.table1"
+- oracle: "test_schema.table1"
+- sqlserver: "testdb.test_schema.table1"
+- postgresql: "testdb.test_schema.table1"
+
+### table_list
+
+The list of tables to be read, you can use this configuration instead of 
`table_path`
+
+example
+
+```hocon
+table_list = [
+  {
+    table_path = "testdb.table1"
+  }
+  {
+    table_path = "testdb.table2"
+    query = "select * from testdb.table2 where id > 100"
+  }
+]
+```

Review Comment:
   add case into docs example



##########
docs/en/connector-v2/source/Jdbc.md:
##########
@@ -98,6 +106,54 @@ improve performance by reducing the number database hits 
required to satisfy the
 
 Additional connection configuration parameters,when properties and URL have 
the same parameters, the priority is determined by the <br/>specific 
implementation of the driver. For example, in MySQL, properties take precedence 
over the URL.
 
+### table_path
+
+The path to the full path of table, you can use this configuration instead of 
`query`.
+
+examples:
+- mysql: "testdb.table1"
+- oracle: "test_schema.table1"
+- sqlserver: "testdb.test_schema.table1"
+- postgresql: "testdb.test_schema.table1"
+
+### table_list
+
+The list of tables to be read, you can use this configuration instead of 
`table_path`
+
+example
+
+```hocon
+table_list = [
+  {
+    table_path = "testdb.table1"
+  }
+  {
+    table_path = "testdb.table2"
+    query = "select * from testdb.table2 where id > 100"
+  }
+]
+```

Review Comment:
   added case into docs example



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to