Skip to main content

Module graph_validation

Module graph_validation 

Source
Expand description

Deployment-time validation for project graphs.

These validations check runtime constraints that require the full graph representation (dependency graph, cluster assignments, etc.) rather than the per-object checks performed during object compilation.

§Validations

  • Cluster isolation (validate_cluster_isolation): Ensures that sources/sinks do not share a cluster with materialized views or indexes. During a blue/green swap, all objects on a cluster are affected. If storage and compute objects share a cluster, an MV update would force source recreation — an expensive and disruptive operation.

Functions§

validate_cluster_isolation 🔒
Validate that sources and sinks don’t share clusters with indexes or materialized views.