Overview
This section describes how to configure Google BigQuery. Please follow the steps below:
-
Download the driver from https://docs.cloud.google.com/bigquery/docs/reference/odbc-jdbc-drivers and install Windows 64-bit (msi).
-
Open the ODBC Data Source Administrator, which can be found in Control Panel > Administrative Tools. Select the System DSN tab and click Add.
-
Find Simba ODBC Driver for Google BigQuery and click Finish.
-
In the Simba ODBC Google BigQuery Data Source Configuration Window, click the Sign In... button to log into your Google BigQuery account.
-
In a web browser, enter your email or phone number and your password.
-
In the authorization page, click the Allow button to permit the ODBC driver to access your data.
-
Copy the code and paste it into the Confirmation Code in Google BigQuery ODBC DSN settings. The Refresh Token will be automatically populated after you have pasted the Confirmation Code.
-
Select an appropriate project & data set. To test the connection, click the Test… button. Once successful, click OK to close the DSN settings.
RPI v6.7 with GCP BigQuery
This section provides some details on required permissions for configuring RPI v6.7 to talk to BigQuery.
Minimum permissions
|
Permission |
Scope* |
Why |
|---|---|---|
|
|
P |
Every ODBC query, DML, and SQL DDL statement. |
|
|
D |
|
|
|
D |
|
|
|
D |
Schema reads: |
|
|
D |
All SELECT / audience queries. |
|
|
D |
|
|
|
D |
|
|
|
D |
|
|
|
D |
|
bigquery.jobs.get is implied for the creator polling its own jobs.
*Scope: P = project (billing/jobs); D = each dataset RPI touches
Conditional
|
Permission |
When |
|---|---|
|
|
If Simba's large-result-set spill is enabled. Separate dataset from your data. |
|
|
Only if you enable Simba's Storage Read API / high-throughput fetch. |
Both are driver settings, not RPI behavior. Please verify against the Simba ODBC for Google BigQuery 2.1.23 install guide.