Dataform tools - a vscode extension🎥 Click here for YouTube video with installation steps and demo → 🎉 Officially recommended by Google[^1]. Though not an officially supported Google product. VS Code extension for Dataform. Supports both Dataform version 2.x and 3.x
Requirements
FeaturesCompiled query & Dry run statsDependency graphInline diagnostics errors on
|
Command | Description |
---|---|
vscode-dataform-tools.showCompiledQueryInWebView |
Show compiled Query in web view |
vscode-dataform-tools.runCurrentFile |
Run current file |
vscode-dataform-tools.runCurrentFileWtDeps |
Run current file with dependencies |
vscode-dataform-tools.runCurrentFileWtDownstreamDeps |
Run current file with dependents |
vscode-dataform-tools.runQuery |
Preview query results |
vscode-dataform-tools.runTag |
Run a tag |
vscode-dataform-tools.runTagWtDeps |
Run a tag with dependencies |
vscode-dataform-tools.runTagWtDownstreamDeps |
Run a tag with dependents |
vscode-dataform-tools.runFilesTagsWtOptions |
Run file(s) / tag(s) with options |
vscode-dataform-tools.dependencyGraphPanel |
Show dependency graph |
vscode-dataform-tools.formatDocument |
Format Document |
Known Issues
- [ ] Features such as go to definition / dependancy graph might not work with consistantly with
${ref("dataset", "table")}
or when it is multiline or a different format works best with${ref('table_name')}
format
TODO
- [ ] Add option to include dependents / dependencies when running cost estimator for tag
- [ ] Add hover docs for config block elements. e.g. Assertions, type etc
- [ ] Handle case where user is not connected to internet or on vpn where network request for dry run cannot be made
[^1]: Link to confirmation of official recommendation by Google: link