Skip to content

catalog,adapter: convert mz_indexes table to materialized view#36119

Draft
teskje wants to merge 1 commit intoMaterializeInc:mainfrom
teskje:convert-mz_indexes
Draft

catalog,adapter: convert mz_indexes table to materialized view#36119
teskje wants to merge 1 commit intoMaterializeInc:mainfrom
teskje:convert-mz_indexes

Conversation

@teskje
Copy link
Copy Markdown
Contributor

@teskje teskje commented Apr 16, 2026

This commit converts the mz_indexes builtin table into a view over the
catalog. As part of this, it introduces an internal mz_builtin_indexes
view exposing the builtin indexes to SQL.

Motivation

Part of SQL-118

This commit converts the `mz_indexes` builtin table into a view over the
catalog. As part of this, it introduces an internal `mz_builtin_indexes`
view exposing the builtin indexes to SQL.
@teskje
Copy link
Copy Markdown
Contributor Author

teskje commented Apr 21, 2026

Currently misses compute introspection indexes. They are in the catalog as ClusterIntrospectionSourceIndex entries, so it should be possible to add them by unioning in these entries.

@teskje teskje force-pushed the convert-mz_indexes branch from c004a3c to ae6d8c9 Compare April 21, 2026 14:37
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