Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ && new CoreOptions(options).definedAggFunc()) {
builder.addContainedKind(kind);
}
}
// FLIP-510: a primary-key Paimon table applies changes (including deletes) by primary
// key, so it can always accept key-only (partial) deletes. Advertise this as a sink
// capability so the planner can drop the upstream ChangelogNormalize when the source
// produces deletes by key. We set the flag unconditionally (rather than echoing
// requestedMode.keyOnlyDeletes()) because the planner builds the requested mode via
// ModifyKindSet#toDefaultChangelogMode(), which does not carry the keyOnlyDeletes flag.
builder.keyOnlyDeletes(true);
return builder.build();
}
}
Expand Down
Loading