Skip to content
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

[flink] Delete in flink should produce changelog no matter what #2594

Merged
merged 1 commit into from
May 4, 2024

Conversation

leaves12138
Copy link
Contributor

@leaves12138 leaves12138 commented Dec 28, 2023

Purpose

Delete one partition in flink will not produce changelog. But anyway, it should. The pr has done two things:

1、Before delete push down, check the row count, if row number is bigger than 100_0000, we generate a job to finish delete. (Do not apply push down)\

2、Delete the partition by per-record set (set the record kind to RowKing.DELETE, then write it back) in Delete push down action.

fix #1508

Tests

API and Format

Documentation

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

Can you also optimize Spark?

@leaves12138
Copy link
Contributor Author

Can you also optimize Spark?

Done

@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit b8802e3 into apache:master May 4, 2024
9 of 10 checks passed
sunxiaojian pushed a commit to sunxiaojian/paimon that referenced this pull request May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants