(Showing Draft Content)

Connect to Google BigQuery

To create a Google BigQuery data source in Wyn Enterprise, follow these steps. However, it requires a separate driver for its execution which you need to install manually on your system. For more information regarding the driver installation steps, refer to this topic.

  1. On the Resource Portal, navigate to Create (+) > Create Data Source.

  2. Select BigQuery in the data source list on the left or in the icon view on the right.

  3. Fill in the database configuration information for the selected data source.

Field Description
Name* The name for the data source that you want to specify.
Host* A host address, the default address is https://www.googleapis.com/bigquery/v2.
Port* A port number, the default is 443.
Project ID* A project name to connect to the BigQuery database.
AuthMode You can set the authorization mode to Service Account or Pre-Generated Access and Refresh Tokens.
If AuthMode is set to Service Account, you need to set the KeyPath for the BigQuery database.
If AuthMode is set to Pre-Generated Access and Refresh Tokens, you need to set the Client Id, Client Secret, Access Token, and Refresh Token for the BigQuery database.
Use Configuration String (Advanced) Use this option to connect to the data provider through a connection string. The format of the connection string depends on the chosen authorization mode.
If AuthMode is set to Service Account, the connection string will be as follows: jdbc:bigquery://MyHost:MyPort;ProjectId=MyProjectId;OAuthType=0;OAuthPvtKeyPath=MyOAuthPvtKeyPath;
If AuthMode is set to Pre-Generated Access and Refresh Tokens, the connection string will be as follows: jdbc:bigquery://MyHost:MyPort;ProjectId=MyProjectId;OAuthType=2;OAuthAccessToken=MyOAuthAccessToken;OAuthRefreshToken=MyOAuthRefreshToken;OAuthClientId=MyOAuthClientId;OAuthClientSecret=MyOAuthClientSecret;
Use Table/Field Name Mapping If you check this option, you can either import a CSV file or manually enter the display names for the required tables or fields in the Mapping dialog. In case of the RDBMS databases, you can also import the name mapping information from another database. For more information on mapping table and column names, visit this topic.

* Required fields

  1. Verify the Google BigQuery connection by clicking Test Connection. If the data source is available, and the credentials are correct, you receive a notification on successful connection.

  2. Click Create after the connection is successful.

    You can view the added data source in the Categories tab of the Resource Portal.