-- 01 · compile

Compiled query webview

See exactly what Dataform will run: compiled SQL, dry-run cost, errors and past executions for the file you are editing.

  • dbt projects on BigQuery

    Open a dbt™ project and get the panel a Dataform file has, row for row: Target with the dry-run size and cost, Compile with the dbt target, Lineage, Run and Last run, then the compiled SQL, with the model's tests on one line. Schema, preview and dbt build runs work the same way. In the editor: go to definition, hover and completions for ref(), source() and column names, and BigQuery's dry-run errors. Works with dbt Core 1.8 or later and dbt v2.

    Set-up and what works ↗

  • Compiled query & dry run

    Compiled SQL side by side with your .sqlx, with bytes processed and cost for every target, including incremental and non-incremental variants.

  • Built-in assertion kind badges

    Built-in assertions in the compiled query panel are distinctly labeled by kind (uniqueKey, nonNull, rowConditions) for fast visual triage.

  • Session-persistent compilation cache

    Fingerprints and persists CLI compilations across VS Code sessions, slashing cold-start compilation delays down to sub-second speeds.

  • Inline diagnostics

    Compilation and dry-run errors land directly on the .sqlx line — and in the compiled query code block — like a native language server.

  • Structured compilation errors

    Dataform compilation failures are rendered as readable, clickable errors instead of a wall of CLI output.

  • Preview query results

    Run the file and browse results in a searchable table, with pre_operations skipped so previews stay side-effect free.

  • Workflow executions

    See the latest Dataform API run for a file, query the actions in a workflow invocation, and jump to the last execution in the browser.

  • Property graphs

    BigQuery property graphs render as a diagram in the webview, with a starter GQL query explained in the graph's own terms.

  • Code actions

    Apply dry-run suggestions as quick fixes at the speed of thought.

-- 02 · lineage

Dependency graph & inspector

Understand how a model fits into your project, then debug it by running filtered queries across its whole dependency chain.

  • Column-level lineage & change impact

    Inspect column lineage and downstream impact directly from the compiled view. Flags dropped or retyped columns against production and maps downstream consumers via Google Cloud Dataplex Lineage, with PR markdown export.

    Google Cloud Dataplex Lineage API ↗

  • Dependency graph

    An interactive graph of your whole project — including orphan nodes — with external sources highlighted, focus on a node, and export to PNG.

  • Dependency inspector

    Pick a model, apply a filter to it and every upstream dependency, then dry-run or run them all. Save filters as JSON to share with your team.

  • Graph in the browser

    Open the dependency graph in a web browser from the CLI — handy for big projects and for sharing a view with someone who doesn't use VS Code.

-- 03 · edit

Schema-aware editing

Language-server comforts for .sqlx: hover, completion, navigation and formatting that know your BigQuery schemas.

  • Schema-aware hover

    Hover a table or column to see types, descriptions and nested STRUCT/ARRAY fields — works with ref() and full table names, plus common BigQuery functions.

  • Auto-completion

    Completion for column names, dependencies and declarations in ${ref("…")} and the config block.

  • Go to definition

    Jump from ${ref("my_source")} and JavaScript blocks to where they are defined.

  • CTEs in outline & breadcrumbs

    Navigate long queries by CTE from the outline view and breadcrumbs; document symbols include full table names.

  • Formatting

    Format .sqlx files with sqlfluff.

    sqlfluff ↗

  • Snippets

    Snippets for Dataform configs and unit tests, plus generic BigQuery functions from vscode-language-sql-bigquery.

    vscode-language-sql-bigquery ↗

-- 04 · run

Cost & execution

Estimate what a tag will cost, then run it with the scope and safety rails you want.

  • Defer to production

    Develop in dev without rebuilding upstream tables. Like dbt's --defer, automatically resolves unbuilt dependencies against production tables/views in dry runs, previews, and runs (via proxy views), with inline ${ref()} decorations.

    ADR: Defer via SQL Rewrite & Proxy Views ↗

  • Interactive run changed actions

    Run only the actions whose compiled SQL or materialization changed vs default branch (state:modified), with interactive file selection and daily-cached merge-base compiles.

  • Cost estimator

    Estimate the cost of one or more tags, optionally including their dependencies and dependents, before you run anything.

  • Run files & tags

    Run files or tags — with dependencies, dependents or full refresh — through the Dataform CLI or the Dataform API, straight from the webview.

    Dataform API ↗

  • Unit tests

    First-class support for Dataform test actions, with a snippet to scaffold new ones.

  • Snooze compilation

    Pause compile-on-save for five minutes while you make sweeping edits, with controls in the webview.