Google BigQuery JDBC
This article describes how to connect Tableau Desktop and Tableau Cloud to Google BigQuery (JDBC).
Before you begin
Before you begin, gather this connection information.
- Google BigQuery billing project ID (Case Sensitive).
Tip: If you're using storage API to improve performance, the user account must have bigquery.readsessions.getData
in their permissions.
Driver required
This connector requires a driver to talk to the database. If the driver isn’t installed on your computer, Tableau displays a message in the connection dialog box with a link to the Driver Download (Link opens in a new window) page where you can find driver links and installation instructions.
Make the connection in Tableau Desktop
In Tableau Desktop, you can use 2 authentication methods with the Google BigQuery connector. You can sign in using a Service Account or using OAuth.
Complete the following steps to sign in using a service account.
- Start Tableau and under Connect, select Google BigQuery JDBC.
- Enter the Billing Project ID. Ensure that you’re using the Google Cloud billing project id, not the billing project name.
- In Authentication, select Sign In using Service Account (JSON) file.
- Enter the file path or use the Browse button to search for it.
- (Optional) Go to the Advanced tab.
- On the Advanced tab, select Use Storage API, to get faster extracts.
- Unselect the Enumerate All Projects option to help increase processing times.
- After you make changes, choose Sign In.
- Enter your password to continue.
- Select Accept to allow Tableau to access your Google BigQuery data. You’re then prompted to close the browser. After authentication, Tableau creates a workbook using the Billing Project ID you provided.
Complete the following steps to sign in using OAuth.
- Start Tableau and under Connect, select Google BigQuery JDBC.
- Enter the Billing Project ID. Ensure that you’re using the Google Cloud billing project id, not the billing project name.
- In Authentication, select Sign In using OAuth.
- (Optional) Go to the Advanced tab.
- On the Advanced tab, select Use Storage API, to get faster extracts.
- Unselect the Enumerate All Projects option to help increase processing times.
- Choose Sign In.
- Select the account with your data in it.
- Select Continue to allow Tableau to access your Google BigQuery data. After authentication, Tableau creates a workbook using the Billing Project ID you provided.
Make the connection in Tableau Cloud
In Tableau Cloud, you can use OAuth authentication methods with the Google BigQuery connector.
- Start Tableau and under Connect, select Google BigQuery JDBC.
- Enter the Billing Project ID. Ensure that you’re using the Google Cloud billing project id, not the billing project name.
- In Authentication, select Sign In using OAuth.
- (Optional) Go to the Advanced tab.
- On the Advanced tab, select Use Storage API, to get faster extracts.
- Unselect the Enumerate All Projects option to help increase processing times.
- Choose Sign In.
- Select the account with your data in it.
- Select Continue to allow Tableau to access your Google BigQuery data. After authentication, Tableau creates a workbook using the Billing Project ID you provided.
Migrating existing workbooks
To migrate workbooks from the Google BigQuery API connector to the JDBC connector you must manually change the data source to Google BigQuery (JDBC) and republish it.