When running a report or publishing a cube in Strategy connected to Google BigQuery using the JDBC driver, the report runs for an extended period of time and then times out.
There may be incorrect JDBC connection string parameters and/or insufficient Google BigQuery privileges. In addition, if the JDBC driver logs are enabled and you see the following error in the driver logs, you have insufficient Google BigQuery permissions.
POST https://bigquery.googleapis.com/bigquery/v2/projects/Strategy-sr/queries
{
"code": 403,
"errors": [
{
"domain": "global",
"message": "Access Denied: Table Strategy-sr:TUTORIALWH_1X.order_detail: User does not have permission to query table Strategy-sr:TUTORIALWH_1X.order_detail, or perhaps it does not exist in location US.",
"reason": "accessDenied"
}
],
"message": "Access Denied: Table Strategy-sr:TUTORIALWH_1X.order_detail: User does not have permission to query table Strategy-sr:TUTORIALWH_1X.order_detail, or perhaps it does not exist in location US.",
"status": "PERMISSION_DENIED"
}
Follow the solutions below to address the issue.
Follow one of the topics below to create a Google BigQuery JDBC data source with the recommended connection string parameters.
Note: Strategy recommends creating new data sources in the Data Sources section of the main Workstation window.
Make sure the user account has at least the following Google BigQuery roles assigned on the project level. Otherwise, the data source will not work.
It may be possible to assign these roles on the dataset/table level. However, Strategy has not certified all possible combinations of role configurations. To learn more about granting roles to a user, see Manage access to project, folders, and organizations in the Google Identity and Access Management (IAM) help.
Occasionally, Google BigQuery errors out due to computing quotas or other errors. However, the driver swallows the exception which causes the connection to hang and eventually time out. Always check the Google BigQuery console for any errors. To access the Google BigQuery console, go to https://console.cloud.google.com/bigquery.

Related Articles
KB484010: Technical Considerations: MicroStrategy and BigQuery