Skip to content

[Design] StarRocks Iceberg Materialized Views in the REST Catalog - #33

Open
osscm wants to merge 2 commits into
StarRocks:mainfrom
osscm:add-iceberg-mv-rest-catalog-design
Open

osscm wants to merge 2 commits into
StarRocks:mainfrom
osscm:add-iceberg-mv-rest-catalog-design

Conversation

@osscm

@osscm osscm commented Oct 8, 2026

Copy link
Copy Markdown

Design proposal (SIG: Data Lake Analytics) for StarRocks materialized views stored in an Iceberg REST catalog, per the Iceberg materialized-view spec (apache/iceberg#11041, impl apache/iceberg#9830).

Summary: CREATE MATERIALIZED VIEW <irc_catalog>.<db>.<mv> AS <query> creates the MV in the REST catalog — an Iceberg View whose currentVersion().storageTable() points at a <mv>__storage table, with data materialized there and an Iceberg RefreshState recorded in the storage snapshot summary. No native StarRocks MV is persisted; the catalog is the source of truth. StarRocks reuses its task scheduler (via a dedicated refresh processor) to drive refresh and keep run-history.

Initial scope: full refresh, non-partitioned, all-Iceberg base tables; manual + scheduled refresh. Depends on the (unreleased) Iceberg MV spec — prototype to be ready when it lands.

Seeking SIG input, especially on the incremental-refresh direction (§6): extend the catalog RefreshState with per-partition state (keeps the catalog authoritative) vs. keep a local MV object (reuses the native incremental pipeline). A prototype exists; happy to share.

@mergify

mergify Bot commented Oct 8, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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