-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: fix some errors in config file and document
- Loading branch information
1 parent
658ef53
commit a71d0ce
Showing
13 changed files
with
92 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 14 additions & 1 deletion
15
datax/plugin/reader/oracle/resources/plugin_job_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
{ | ||
"name": "oraclereader", | ||
"parameter": { | ||
|
||
"connection": { | ||
"url": "connectString=\"192.168.15.130:1521/xe\" heterogeneousPool=false standaloneConnection=true", | ||
"table": { | ||
"schema":"TEST", | ||
"name":"SRC" | ||
} | ||
}, | ||
"username": "system", | ||
"password": "oracle", | ||
"column": ["*"], | ||
"split" : { | ||
"key":"id" | ||
}, | ||
"where": "" | ||
} | ||
} |
22 changes: 12 additions & 10 deletions
22
datax/plugin/reader/sqlite3/resources/plugin_job_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
{ | ||
"name": "sqlite3reader", | ||
"parameter": { | ||
"column": ["*"], | ||
"connection": { | ||
"url": "", | ||
"table": { | ||
"db":"", | ||
"name":"" | ||
} | ||
}, | ||
"where": "" | ||
"column": [ | ||
"*" | ||
], | ||
"connection": { | ||
"url": "E:\\Sqlite3\\test.db", | ||
"table": { | ||
"db": "main", | ||
"name": "type_table" | ||
} | ||
}, | ||
"where": "" | ||
} | ||
} | ||
} |
25 changes: 13 additions & 12 deletions
25
datax/plugin/writer/db2/resources/plugin_job_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
{ | ||
"name": "db2writer", | ||
"parameter": { | ||
"username": "", | ||
"password": "", | ||
"writeMode": "", | ||
"column": [], | ||
"preSql": [], | ||
"connection": { | ||
"url": "", | ||
"name": "db2writer", | ||
"parameter": { | ||
"connection": { | ||
"url": "HOSTNAME=127.0.0.1;PORT=50000;DATABASE=db", | ||
"table": { | ||
"schema":"", | ||
"name":"" | ||
"schema":"SOURCE", | ||
"name":"TEST" | ||
} | ||
}, | ||
"username": "root", | ||
"password": "12345678", | ||
"writeMode": "insert", | ||
"column": ["*"], | ||
"preSql": ["create table a like b"], | ||
"postSql": ["drop table a"], | ||
"batchTimeout": "1s", | ||
"batchSize":1000 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 15 additions & 1 deletion
16
datax/plugin/writer/oracle/resources/plugin_job_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
{ | ||
"name": "oraclewriter", | ||
"parameter": { | ||
|
||
"connection": { | ||
"url": "connectString=\"192.168.15.130:1521/xe\" heterogeneousPool=false standaloneConnection=true", | ||
"table": { | ||
"schema":"TEST", | ||
"name":"DEST" | ||
} | ||
}, | ||
"username": "system", | ||
"password": "oracle", | ||
"writeMode": "insert", | ||
"column": ["*"], | ||
"preSql": ["create table a like b"], | ||
"postSql": ["drop table a"], | ||
"batchTimeout": "1s", | ||
"batchSize":1000 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 15 additions & 12 deletions
27
datax/plugin/writer/sqlite3/resources/plugin_job_template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
{ | ||
"name": "sqlite3writer", | ||
"parameter": { | ||
"writeMode": "insert", | ||
"column": ["*"], | ||
"connection": { | ||
"url": "", | ||
"table": { | ||
"db":"", | ||
"name":"" | ||
} | ||
}, | ||
"batchTimeout": "1s", | ||
"batchSize":1000 | ||
"writeMode": "insert", | ||
"column": [ | ||
"*" | ||
], | ||
"connection": { | ||
"url": "E:\\Sqlite3\\test.db", | ||
"table": { | ||
"name": "type_table_copy" | ||
} | ||
}, | ||
"preSql": ["create table a like b"], | ||
"postSql": ["drop table a"], | ||
"batchTimeout": "1s", | ||
"batchSize": 1000 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters