Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Query and Explore BigQuery from VSCode

I recently built a VSCode extension for BigQuery as I got bored of hopping into the console every time I needed to check a column name or run a scratch query.

Posting as I thought others might find it helpful.

Connecting and running queries in VSCodeConnecting and running queries in VSCode

Features:

  • Connect via the CLI, Service Account or OAuth
  • Run queries and get results into VSCode
  • Explore datasets, tables and columns in the sidebar
  • View table contents by selecting them in the sidebar
  • Completion for common keywords (e.g. SELECT, FROM, WHERE)

It's an open-source project, code on GitHub

 

4 7 17.8K
7 REPLIES 7

Great work! 

Is it possible to view Stored Procedures and Functions as in big query workspace?

You must be a mind reader. Released that feature today

archiewood_0-1699314298121.png

 

 

I can't seem to find a way to view views. I'm guessing that's not implemented?

thanks

Hmm there should be a folder specifically for views.

If you can't, could you file an issue on github, and I'll take a look when I get around to the next release

https://github.com/evidence-dev/sqltools-bigquery-driver

This is an impressive extension and I use it all the time. I was wondering if there will be support for materialized views at some point? I noticed that I can view Views, Tables, and routines seamlessly, but I cannot locate any of my materialized views.

If you file an issue on GitHub, next time i’m working on it I’ll take a look

https://github.com/evidence-dev/sqltools-bigquery-driver

 

That's great to hear, @archiewood! I've added the issue to GitHub and will expound with more details and photos later.

Cheers