Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split the update event when using avro or csv protocol #9086

Closed
3AceShowHand opened this issue May 29, 2023 · 2 comments · Fixed by #9079
Closed

split the update event when using avro or csv protocol #9086

3AceShowHand opened this issue May 29, 2023 · 2 comments · Fixed by #9079
Assignees
Labels
affects-6.5 affects-7.1 area/ticdc Issues or PRs related to TiCDC. component/sink Sink component. report/community The community has encountered this bug. type/enhancement The issue or PR belongs to an enhancement.

Comments

@3AceShowHand
Copy link
Contributor

Avro and CSV Protocol, does not emit the old value for the update event to downstream, so if the primary key is updated, the old data cannot be deleted from the downstream data system.

By split the update event into delete event and insert event, the old data can be delete first, and then insert the new data.

@nongfushanquan
Copy link
Contributor

/label affects-7.1
/label affects-6.5

@seiya-annie
Copy link

/found community

@ti-chi-bot ti-chi-bot bot added the report/community The community has encountered this bug. label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 affects-7.1 area/ticdc Issues or PRs related to TiCDC. component/sink Sink component. report/community The community has encountered this bug. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
3 participants