alibaba / alibaba/DataX

同步问题

Open
#1,091 0 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

请问一下如何在mongoDB同步mysql的时候,mysql如何在同步数据的时候添加一个自增主键的列,因为不想使用mongoDB的id做主键,例如mongoDB数据:{
"_id": {
"$oid": "612f17f6dcb465e3ce969545"
},
"name": "aaa"
}
mysql数据:id:1,doc_id:"612f17f6dcb465e3ce969545",name:"aaa"

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue gives MongoDB and MySQL example records but names no DataX file, test, or entry point. Start by reading the documented MongoDB-to-MySQL synchronization configuration and verify whether generating a MySQL auto-increment column is supported; done would be a confirmed configuration or a clearly scoped implementation request.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, mysql
Domain
data-engineering, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.