paimon icon indicating copy to clipboard operation
paimon copied to clipboard

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

Open TaoZex opened this issue 1 year ago • 5 comments

Purpose

Linked issue: https://github.com/apache/incubator-paimon/issues/2720

Tests

API and Format

Documentation

TaoZex avatar Jan 24 '24 15:01 TaoZex

PTAL @yuzelin

TaoZex avatar Jan 31 '24 07:01 TaoZex

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

yuzelin avatar Apr 10 '25 08:04 yuzelin

Rebased master

yuzelin avatar Apr 10 '25 08:04 yuzelin

Rebased master

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

TaoZex avatar Apr 10 '25 12:04 TaoZex

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 ?

yuzelin avatar Apr 11 '25 02:04 yuzelin