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] partial-update merge engine support batch deletion using flink sql #4273

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

Conversation

zhuangchong
Copy link
Contributor

Purpose

partial-update merge engine support batch deletion using flink sql

Tests

paimon-flink/paimon-flink-common/src/test/java/org/apache/paimon/flink/PartialUpdateITCase#testRemoveRecordOnDelete

API and Format

Documentation

String.format("Merge engine %s can not support batch delete.", mergeEngine));
CoreOptions coreOptions = CoreOptions.fromMap(table.options());
if (coreOptions.mergeEngine() == DEDUPLICATE
|| coreOptions.ignoreDelete()
Copy link
Contributor

Choose a reason for hiding this comment

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

If its ignoreDelete, do we have to allow it execute delete from?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, If its ignoreDelete, it should not be allowed to execute delete from.

Copy link
Contributor

@Aitozi Aitozi left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants