alibaba / alibaba/DataX

mongodbwriter的配置了upsertInfo,但是没有对upsertKey进行更新,还是插入所有数据。

Open
#14 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

配置如下:
```
"upsertInfo": {
"isUpsert": "true",
"upsertKey": "unique_id"
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the MongoDB writer behavior with the provided upsertInfo configuration and duplicate unique_id values. Trace how isUpsert and upsertKey are handled, then verify that matching unique_id values update existing records instead of inserting additional records.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb
Domain
data-engineering, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.