RBR-OS
[G]ITHUB v2026.10 · APACHE-2.0

Errors and build

Google Cloud Dataform Plugin for IntelliJ · Features

The plugin compiles the project in the background, when you stop typing, when you save and after external changes such as a checkout or a pull. Each compiled query is then dry-run in BigQuery. Errors from both steps are shown where you can fix them: on the token in the editor, in the compiled preview and in the Build tool window.

VID.01 // A misspelled column found by the dry run, then listed by the build

In the editor

An error is underlined on the token it refers to, and its message is shown at the end of the line, with a hint when the plugin knows a likely fix: BigQuery: Name emailx not found inside c → Did you mean ‘email’? The editor’s error stripe counts them.

FIG.01 // A dry-run error on c.emailx, in the editor and the compiled preview
  • Dry-run errors are checked for tables, views, incremental tables and operations declaring hasOutput: true.
  • Dataform compilation errors (JavaScript errors, unknown ref() targets, invalid config { } values, …) are placed on the line of the SQLX file they come from, even when Dataform reports them in the generated JavaScript.
  • Alt+Enter offers the fix for misspelled names, such as Replace with ‘email’.
  • An error that cannot be tied to a token is shown in a banner at the top of the editor.
  • In a config { } block, an unknown key or an invalid enumerated value is reported without waiting for a compilation.
  • A partitionBy written as an object is reported too, because Dataform takes a partitioning expression there. Alt+Enter replaces it with the expression when the plugin can work it out. This check is the Dataform partitionBy written as an object inspection.

Errors in the editor can be turned off in the plugin settings; the compiled preview and the build still report them.

FIG.02 // The Replace with 'email' fix for a misspelled column
FIG.03 // Duplicate action names, which belong to no token, in the banner of the editor

In the compiled preview

The block of a failing query shows a BigQuery dry run failed banner with the full error and Copy error, and its cost reads Can’t estimate. The header’s estimate says how many queries it covers, for example Estimated (2 of 3). An action that did not compile shows its compilation error in the same kind of banner.

FIG.04 // A failing dry run in the compiled preview of gold_customer_ltv.sqlx: Can't estimate, and Estimated (2 of 3) in the header

Build

Build ▸ Build Project (Ctrl+F9) and the Compile button of the SQLX editor toolbar compile the project, refresh the schemas and report the result in the Build tool window:

  • the Dataform Compile node says whether the compilation succeeded and how many action queries failed in BigQuery, for example Dataform compile succeeded, 1 of 32;
  • failing actions are grouped per file, each with its errors and line numbers. Select one to see the full message, double-click it to open the file at the error;
  • Dataform compilation errors show the code frame they point to;
  • when the Dataform CLI cannot start, or stops before compiling, the build explains it and gives the command to run in a terminal, with its directory, to see what the CLI reports.
FIG.05 // The Build tool window after a build with a failing dry run
FIG.06 // A compilation error with its code frame in the Build tool window

The build waits for the schema refresh, so it does not report success while a query still fails. When it finishes, a balloon sums up the result and links to the Build window.

Dry runs need the Google Cloud sign-in and an active repository (see Configuration); without them, only compilation errors are reported.