Skip to content

[CDC] support mysql and pg composite primary key in sync table cdc#2786

Closed
TaoZex wants to merge 1 commit into
apache:masterfrom
TaoZex:composite_key
Closed

[CDC] support mysql and pg composite primary key in sync table cdc#2786
TaoZex wants to merge 1 commit into
apache:masterfrom
TaoZex:composite_key

Conversation

@TaoZex
Copy link
Copy Markdown
Contributor

@TaoZex TaoZex commented Jan 24, 2024

Purpose

Linked issue: #2720

Tests

API and Format

Documentation

@TaoZex TaoZex changed the title [WIP] support mysql and pg composite primary key in sync table cdc [CDC] support mysql and pg composite primary key in sync table cdc Jan 25, 2024
@TaoZex
Copy link
Copy Markdown
Contributor Author

TaoZex commented Jan 31, 2024

PTAL @yuzelin

@yuzelin yuzelin self-requested a review March 15, 2024 06:49
@yuzelin
Copy link
Copy Markdown
Contributor

yuzelin commented Apr 10, 2025

The original branch is stored: https://github.com/yuzelin/paimon/tree/composite_key

@yuzelin
Copy link
Copy Markdown
Contributor

yuzelin commented Apr 10, 2025

Rebased master

@TaoZex
Copy link
Copy Markdown
Contributor Author

TaoZex commented Apr 10, 2025

Rebased master

Long time no see. Thank you for your advice. I will rebase the master branch tomorrow as you suggested.

@yuzelin
Copy link
Copy Markdown
Contributor

yuzelin commented Apr 11, 2025

Nice to see you again. I have rebased. Additionally, for this PR, I'd better to implement it like CDAS, that is, the new primary keys are [databaseName, tableName, pk]. Maybe we can just use metadata column to implement it ?

@JingsongLi JingsongLi closed this May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants