Materialize
List Materialize sources
Run SHOW SOURCES when an operator needs a concise list of source names, types, and clusters. Query the system catalog when an automation needs source metadata alongside other catalog objects.
Documentation reviewed · 2 methods with sources
Ways to do it
API
SHOW SOURCES
Return source names, source types, and associated clusters, optionally limited to a schema or cluster.
Read source: Materialize SHOW SOURCES- Requirements
- A SQL connection to Materialize and USAGE permission on the relevant database and schema.
- Limitations
- SHOW SOURCES returns a compact catalog view. Query the system catalog when you need IDs, descriptions, or source-specific metadata.
Example text
SHOW SOURCES IN CLUSTER c1;API
SELECT FROM mz_catalog.mz_sources
Query the system catalog for source IDs and metadata that can be joined to other Materialize catalog tables.
Read source: Materialize system catalog- Requirements
- A SQL connection with access to the mz_catalog system schema.
- Limitations
- System catalog columns can change with Materialize releases. Prefer documented SHOW commands for portable operator output.
Example text
SELECT id, name, type, cluster_id FROM mz_catalog.mz_sources ORDER BY name;