Giter Club home page Giter Club logo

dbt-bigquery-preview's Introduction

dbt-bigquery-preview

dbt-bigquery-preview is a little extension that allows you to run dbt code directly against BigQuery and get the results back in vscode.

Please let us know about any bugs or feature requests through GitHub Issues.

Features

Go to the Command Palette (shortcut: Ctrl + Shift + P) and look for dbt-bigquery-preview: Preview dbt results. Click there and... wait for your results!

Example showcasing the extension

Tips

You can add a keyboard shortcut for this action through File -> Preferences -> Keyboard Shortcuts. Use editorLangId == 'jinja-sql' as when criterium in an environment configured for dbt-power-user installed or editorLangId == 'sql' in any other environment.

Example showcasing adding the shortcut

Requirements

For dbt-bigquery-preview to work, you have to:

  • Be authenticated through the OAuth gcloud setup. If you haven't done so already, dbt Labs have a good tutorial here.
  • Open vscode in a dbt project.
  • dbt>=0.21.0.

Extension Settings

This extension contributes the following settings:

  • dbt-bigquery-preview.projectId: Sets the projectId of the BigQuery project you want to query against.
  • dbt-bigquery-preview.location: Sets the location of the data you want to query. EU by default.
  • dbt-bigquery-preview.executablePath: Sets the path to the dbt executable. Particularly useful for those who use dbt within a Python virtual environment.

In order to set them up, go to Settings -> Extensions -> dbt-bigquery-preview.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.