Merge pull request #694 from dataccs/patch-2

Update odpswriter.md
This commit is contained in:
Trafalgar 2020-05-26 05:17:24 +08:00 committed by GitHub
commit e2aed2e9e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,14 +35,16 @@ ODPSWriter插件用于实现往ODPS插入或者更新数据主要提供给etl
{ {
"job": { "job": {
"setting": { "setting": {
"speed": {"byte": 1048576} "speed": {
"byte": 1048576
}
}, },
"content": [ "content": [
{ {
"reader": { "reader": {
"name": "streamreader", "name": "streamreader",
"parameter": { "parameter": {
"column" : [ "column": [
{ {
"value": "DataX", "value": "DataX",
"type": "string" "type": "string"
@ -60,8 +62,11 @@ ODPSWriter插件用于实现往ODPS插入或者更新数据主要提供给etl
"parameter": { "parameter": {
"project": "chinan_test", "project": "chinan_test",
"table": "odps_write_test00_partitioned", "table": "odps_write_test00_partitioned",
"partition":"school=SiChuan-School,class=1", "partition": "school=SiChuan-School,class=1",
"column": ["id","name"], "column": [
"id",
"name"
],
"accessId": "xxx", "accessId": "xxx",
"accessKey": "xxxx", "accessKey": "xxxx",
"truncate": true, "truncate": true,
@ -71,7 +76,6 @@ ODPSWriter插件用于实现往ODPS插入或者更新数据主要提供给etl
} }
} }
} }
}
] ]
} }
} }