DTStack / DTStack/chunjun

[Question][oracleLogmr-oracle] oracleLogmr_to_oracle.json报错,提示数组越界

Open
#1,467 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
4.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Search before asking

- [ ] I had searched in the [issues](https://github.com/DTStack/chunjun/issues) and found no similar question.

- [X] I had googled my question but i didn't get any help.

- [X] I had read the documentation: [ChunJun doc](https://dtstack.github.io/chunjun) but it didn't help me.

### Description

创建oracleLogmr_to_oracle的json文件,执行时提示数组越界
```
{
"job": {
"content": [
{
"reader": {
"name": "oraclelogminerreader",
"parameter": {
"table": [
"TEST.T_CDC_TEST"
],
"username": "system",
"password": "@3PuXdx6SjffrfPP1BqseK1",
"cat": "UPDATE,INSERT,DELETE",
"jdbcUrl": "jdbc:oracle:thin:@192.168.10.189:1521:helowin",
"readPosition": "CURRENT",
"pavingData": true
}
},
"writer": {
"name": "oraclewriter",
"parameter": {
"username": "system",
"password": "@3PuXdx6SjffrfPP1BqseK1",
"connection": [
{
"jdbcUrl": "jdbc:oracle:thin:@192.168.10.189:1521:helowin",
"table": [
"T_CDC_TEST2"
],
"schema": "TEST"
}
],
"writeMode": "insert",
"column": [
{
"name": "ID",
"type": "INT"
},
{
"name": "TASK_NAME",
"type": "VARCHAR"
},
{
"name": "TASK_INFO",
"type": "VARCHAR"
},
{
"name": "COLLECT_TABLE",
"type": "VARCHAR"
}
]
}
}
}
],
"setting": {
"speed": {
"channel": 1,
"bytes": 0
},
"restore": {
"isStream": true,
"isRestore": false,
"restoreColumnName": "",
"restoreColumnIndex": 0
}
}
}
}
```
![lALPJunPZbSf5dvNA2LNBgg_1544_866](https://user-images.githubusercontent.com/122013759/210756364-1b216bfe-bc25-4565-a7cb-891256390650.png)

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.