Expand description
Column-schema introspection for the data-contract and type-checking systems.
Methods on TypeInfoClient query the Materialize system catalog for
external dependencies and CREATE TABLE FROM SOURCE tables, returning their
column names, types, nullability, object kinds, and comments as a
Types snapshot.
Plain CREATE TABLE objects are excluded โ their schemas are derived from
the SQL AST during type checking and do not need server queries.
lockusesquery_types_for_objectsto generatetypes.lockfor declared dependencies and source tables, retrieving column types, object kind, and comments from the catalog in a single query per object.query_external_typesdelegates toquery_types_for_objects, extracting object lists from the compiled project graph.
Structsยง
- Catalog
Column ๐Info - Catalog
Object ๐Info - Per-object payload returned by the catalog query in
query_types_for_objects.