apache / apache/paimon

[Feature] Support for the creation of composite primary keys using database, table, and existing primary key in Paimon.

Open
#2,720 2 comments 0 reactions 1 assignee Claimed by @TaoZex View on GitHub
enhancement
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.

### Motivation

Although Paimon supports synchronizing multiple MySQL tables into a single table, there is a possibility of duplicate primary keys across these tables, which could result in multiple records being merged into one. Therefore, it would be beneficial for Paimon to support the formation of composite primary keys using the database name, table name, and existing primary key.

### Solution

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.