Module mz_adapter::coord::introspection
source · Expand description
Special cases related to the “introspection” of Materialize
Every Materialize deployment has a pre-installed mz_introspection
cluster, which
has several indexes to speed up common introspection queries. We also have a special
mz_support
role, which can be used by support teams to diagnose a deployment.
For each of these use cases, we have some special restrictions we want to apply. The
logic around these restrictions is defined here.
Functions
- Checks whether or not we should automatically run a query on the
mz_introspection
cluster, as opposed to whatever the current default cluster is. - Checks if we’re currently running on the
MZ_INTROSPECTION_CLUSTER
, and if so, do we depend on any objects that we’re not allowed to query from the cluster.