Skip to content

[flink] Support batch delete and update in flink sink - #3863

Open
loserwang1024 wants to merge 2 commits into
apache:mainfrom
loserwang1024:batch-delete
Open

[flink] Support batch delete and update in flink sink#3863
loserwang1024 wants to merge 2 commits into
apache:mainfrom
loserwang1024:batch-delete

Conversation

@loserwang1024

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #3724

Brief change log

Tests

API and Format

Documentation

@naivedogger naivedogger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @loserwang1024 for the pr! Overall LGTM, just left one minor suggestion.

"+I[2, 2001, " + partition2 + "]"),
true);

tBatchEnv.executeSql("DELETE FROM " + t2 + " WHERE a = 1").await();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This test uses WHERE a = 1 on a table partitioned by c, so partition pruning is not covered. Since the issue explicitly mentions partition-filter deletes like DELETE FROM orders WHERE dt = '2026-07-21', would it be possible to also add a partition-only filter case (e.g., WHERE c = '<partition>') to cover that path?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[flink] Support batch DELETE for primary-key tables

2 participants