mtxr / vscode-sqltools

Database management for VSCode

Home Page:https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BigQuery connections not showing using different project_id

cecabrera opened this issue · comments

First of all, I am a big fan of this extension. Thank you for all of the hard work you have put in it :)

The bug is:

  • When I connect to Bigquery using 1 project, it works perfectly
  • When trying to connect to another project inside SQLTools, the connection is working but doesn't show any data
image

I have two different projects:

  1. real-estate-analysis
  2. trading

As you may see in the image, I am able to connect to real-estate-analysis Bigquery project using the extension with all available methods: CLI, Service Account and Oauth.

What I have tried so far:

  • Connected using Service account. Granted Bigquery Data Owner permissions to both services account
  • Connected using Service account. Granted Bigquery jobs executor permission to both services account
  • Connected using CLI and configuring the default project via terminal
  • Connected using OAuth token

In all of the scenarios above, the connection to real-estate-analysis project work but the trading connection doesn't.

I configured also the projects accordingly in the settings.json file and didn't work.

Desktop (please complete the following information):

  • SQLTools Version: v0.28.1
  • VS Code Version: 1.87
  • OS: Mac
  • Driver:
    • BigQuery

When I use Bigquery Runner extension, it works:

image

What should I try? Thank you!

Please report this to the author of the BigQuery driver extension