+1 n.b. On Nov 16, 2026 at 7:12:11 AM, Jan Kaul via dev <[email protected]> wrote:
> Hi everyone, > > Following the discussion on the dev list [1 > <https://lists.apache.org/thread/zpl1pk6v7k49s30gmm3kr986bc9y7jyv>] and > the review on GitHub, I'd like to call a vote to adopt the Materialized > View specification in PR #11041 [2 > <https://github.com/apache/iceberg/pull/11041>]. The PR adds a > "Materialized Views" section to the View spec (format/view-spec.md), along > with the storage table metadata it relies on. > > Summary of the change: > - A materialized view is an Iceberg view whose version carries a pointer > to a storage table. The storage table is a regular Iceberg table that holds > the precomputed results. > - Readers that do not understand materialized views ignore the pointer and > evaluate the view query directly, so existing view consumers keep working > unchanged. > - Refresh state is recorded in the snapshot summary of the storage table. > It captures the view version that was materialized, the refresh start > timestamp, and the state of the source tables and views at refresh time > (snapshot IDs for tables, version IDs for views). > - Consumers use the refresh state to decide whether the storage table is > fresh. When it is stale, a consumer may fail, refresh, or fall back to the > view query, but must not read from the storage table. > > Background: > - The design follows the community's earlier decision to model a > materialized view as a separate Iceberg view and Iceberg table rather than > a new combined catalog object [3 > <https://lists.apache.org/thread/qlvtb3wzp8yvx4jbxzpydf7rr3mvjzcq>]. > - Proof-of-concept implementations in Spark and Trino validate the spec [4 > <https://github.com/apache/iceberg/pull/9830>][5 > <https://github.com/trinodb/trino/pull/31027>]. Thanks to Marius Grama > and Walaa Eldin Moustafa for building them, and to everyone who reviewed > the proposal [6 <https://github.com/apache/iceberg/issues/10043>] and the > PR over the past two years. > > Since this adds new metadata to the spec under format/, it requires a vote. > > The vote will be open for at least 72 hours. > > [ ] +1 Adopt the Materialized View spec > [ ] +0 > [ ] -1 Do not adopt (please provide reasons) > > Here's my +1 (non-binding). > > Best, > Jan Kaul > > [1] https://lists.apache.org/thread/zpl1pk6v7k49s30gmm3kr986bc9y7jyv > [2] https://github.com/apache/iceberg/pull/11041 > [3] https://lists.apache.org/thread/qlvtb3wzp8yvx4jbxzpydf7rr3mvjzcq > [4] https://github.com/apache/iceberg/pull/9830 > [5] https://github.com/trinodb/trino/pull/31027 > [6] https://github.com/apache/iceberg/issues/10043 >
