Skip to main content

Module compile

Module compile 

Source
Expand description

Compile command — validate project and show deployment plan.

Compiles the project through a multi-stage pipeline:

  1. Parse — Load and parse SQL files from the project directory.
  2. Validate — Check project structure and dependencies.
  3. Build graph — Assemble the dependency-aware project graph.
  4. Typecheck — Incrementally validate SQL against Materialize. Only objects whose definitions changed since the last build are re-validated; unchanged builds skip typechecking entirely.
  5. Display — Print the deployment plan with dependencies and SQL.

Functions§

run
Compile and validate the project, showing the deployment plan.
run_without_typecheck
Compile the project without type checking.