apache / apache/paimon

[Feature] flink database sync action should support merging different tables in the same database into one paimon table.

Open
#2,581 0 comments 0 reactions 0 assignees 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

When I have three tables tablea_1, tablea_2, tableb in a database and I use flink database sync, I hope to merge tablea_1 tablea_2 into one paimon table.

### Solution

Add configuration in Synchronizing Databases for full database synchronization
`--merge_tables='tablea_1|tablea_2'`
`--paimon_merge_table_name = 'tablea'`

### 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

Research direction

Start by locating the Flink database sync action and the “Synchronizing Databases” configuration described in the issue. Determine how merging tablea_1 and tablea_2 into the configured tablea should be represented, and verify that the requested configuration works without changing unrelated tables.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.