Skip to content

[FLINK-38206][pipeline-connector][paimon] Support writing to existed table with inconsistent schema with upstream. #4081

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

lvyanquan
Copy link
Contributor

For situations where the structure of downstream tables and upstream data tables is inconsistent, the data is transformed based on the downstream schema to avoid possible errors and data correctness issues.

…table with inconsistent schema with upstream.
@lvyanquan
Copy link
Contributor Author

Hi @beryllw, @yuxiqian PTAL.

@beryllw
Copy link
Contributor

beryllw commented Aug 12, 2025

LGTM, but i find some problem in my test.

I cherry-picked this to the 3.3 branch and tested the MySQL to Paimon.
Starting in initial mode and adding a column during increment worked perfectly.
However, there's an issue: when I clear the state and restart the job, data misalignment still occurs.

I'll try to reproduce this tomorrow and figure out the reason. It might be some mistake in my cherry-pick.

Copy link
Contributor

@Mrart Mrart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will let some comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants