Skip to content

[spark] Honor delete.force-produce-changelog on a full-table DELETE - #10311

Merged
JingsongLi merged 1 commit into
apache:masterfrom
cxzl25:spark-delete-force-changelog-full-table
Oct 2, 2026
Merged

JingsongLi merged 1 commit into
apache:masterfrom
cxzl25:spark-delete-force-changelog-full-table

Conversation

@cxzl25

@cxzl25 cxzl25 commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Purpose

On a changelog-producing primary-key table, a full-table DELETE FROM T with no WHERE clause is rewritten to the metadata-only truncate fast path and produces no -D changelog rows, even when delete.force-produce-changelog = true is set.

Tests

Add UT

@JingsongLi

Copy link
Copy Markdown
Contributor

+1

@JingsongLi
JingsongLi merged commit fe750e4 into apache:master Oct 2, 2026
11 checks passed
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