DataX MysqlWriter 中的writeMode 问题
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description
DataX MysqlWriter 中的writeMode 中的update 为何不生效
"writeMode": "update",
"onDuplicateKey": {
"column": [
"`type`",
"`school_id`",
"`school_name`",
"`count`"
]
我这样写了 为何 相同的数据写入到 目标表 数据是累加的 不是通过这几个字段更新
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how MysqlWriter handles the writeMode and onDuplicateKey settings shown in the issue, then reproduce the behavior with the provided configuration and repeated matching rows. Done means the behavior is explained and the configured columns produce the intended update semantics instead of accumulating values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mysql
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100