Skip to content

[core] Rebuild materialized view when a source snapshot was replaced - #11659

Open
cxzl25 wants to merge 1 commit into
apache:masterfrom
cxzl25:mv-source-identity
Open

cxzl25 wants to merge 1 commit into
apache:masterfrom
cxzl25:mv-source-identity

Conversation

@cxzl25

@cxzl25 cxzl25 commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Purpose

old source: append 10, append 11 (snapshot 2)      -> refresh, view = [10, 11]
DROP + CREATE the source with the same name
new source: append 99, 98, 97 (snapshot 3)         -> refresh
before this change: view = [10, 11, 97]
with this change:   view = [99, 98, 97] (OVERWRITE)

Tests

Add UT

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.

1 participant