Skip to main content

Static analysis

Use the --static-analysis flag to override model-level static_analysis behavior for a single run. This flag applies to the dbt Fusion Engine only; it is ignored by dbt Core.

Values:

  • off: Disable static analysis for all models in the run.
  • unsafe: Use Just-in-time (JIT) static analysis for all models in the run.

If not set, Fusion uses its defaults: Ahead-of-time (AOT) static analysis (on) for eligible models and JIT (unsafe) for introspective branches. See Configuring static_analysis for more information.

Usage
dbt run --static-analysis off
dbt run --static-analysis unsafe

Also check out the model-level static_analysis (resource config) and About flags pages for more details.

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

0