You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by wa...@apache.org on 2023/08/23 13:38:43 UTC

[seatunnel] branch dev updated: [Doc][hotfix][Oracle] Correct word errors (#5360)

This is an automated email from the ASF dual-hosted git repository.

wanghailin 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 f6847766c2 [Doc][hotfix][Oracle] Correct word errors (#5360)
f6847766c2 is described below

commit f6847766c2bd5e87e6be2fb9adbd8741a6121a8a
Author: Carl-Zhou-CN <67...@users.noreply.github.com>
AuthorDate: Wed Aug 23 21:38:37 2023 +0800

    [Doc][hotfix][Oracle] Correct word errors (#5360)
---
 docs/en/connector-v2/sink/Oracle.md   | 6 +++---
 docs/en/connector-v2/source/Oracle.md | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/en/connector-v2/sink/Oracle.md b/docs/en/connector-v2/sink/Oracle.md
index feda00b815..151243f318 100644
--- a/docs/en/connector-v2/sink/Oracle.md
+++ b/docs/en/connector-v2/sink/Oracle.md
@@ -35,7 +35,7 @@ semantics (using XA transaction guarantee).
 
 ## Data Type Mapping
 
-|                                 PostgreSQL Data type                                 | SeaTunnel Data type |
+|                                   Oracle Data type                                   | SeaTunnel Data type |
 |--------------------------------------------------------------------------------------|---------------------|
 | INTEGER                                                                              | INT                 |
 | FLOAT                                                                                | DECIMAL(38, 18)     |
@@ -54,7 +54,7 @@ semantics (using XA transaction guarantee).
 
 |                   Name                    |  Type   | Required | Default |                                                                                                                 Description                                                                                                                  |
 |-------------------------------------------|---------|----------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| url                                       | String  | Yes      | -       | The URL of the JDBC connection. Refer to a case: jdbc:postgresql://localhost:5432/test                                                                                                                                                       |
+| url                                       | String  | Yes      | -       | The URL of the JDBC connection. Refer to a case: jdbc:oracle:thin:@datasource01:1523:xe                                                                                                                                                      |
 | driver                                    | String  | Yes      | -       | The jdbc class name used to connect to the remote data source,<br/> if you use Oracle the value is `oracle.jdbc.OracleDriver`.                                                                                                               |
 | user                                      | String  | No       | -       | Connection instance user name                                                                                                                                                                                                                |
 | password                                  | String  | No       | -       | Connection instance password                                                                                                                                                                                                                 |
@@ -83,7 +83,7 @@ semantics (using XA transaction guarantee).
 
 ### Simple:
 
-> This example defines a SeaTunnel synchronization task that automatically generates data through FakeSource and sends it to JDBC Sink. FakeSource generates a total of 16 rows of data (row.num=16), with each row having two fields, name (string type) and age (int type). The final target table is test_table will also be 16 rows of data in the table. Before run this job, you need create database test and table test_table in your PostgreSQL. And if you have not yet installed and deployed Sea [...]
+> This example defines a SeaTunnel synchronization task that automatically generates data through FakeSource and sends it to JDBC Sink. FakeSource generates a total of 16 rows of data (row.num=16), with each row having two fields, name (string type) and age (int type). The final target table is test_table will also be 16 rows of data in the table. Before run this job, you need create database test and table test_table in your Oracle. And if you have not yet installed and deployed SeaTunn [...]
 
 ```
 # Defining the runtime environment
diff --git a/docs/en/connector-v2/source/Oracle.md b/docs/en/connector-v2/source/Oracle.md
index c1cedbded7..385d55ca9e 100644
--- a/docs/en/connector-v2/source/Oracle.md
+++ b/docs/en/connector-v2/source/Oracle.md
@@ -37,7 +37,7 @@ Read external data source data through JDBC.
 
 ## Data Type Mapping
 
-|                                 PostgreSQL Data type                                 | SeaTunnel Data type |
+|                                   Oracle Data type                                   | SeaTunnel Data type |
 |--------------------------------------------------------------------------------------|---------------------|
 | INTEGER                                                                              | INT                 |
 | FLOAT                                                                                | DECIMAL(38, 18)     |