This section covers the procedure to connect Yellowfin to a Google BigQuery data source.

If the writable data source functionality is enabled, you are permitted to write data to a Google BigQuery database


Instructions

Follow the instructions create a connection with Big Query. You can use any of your Google service accounts to authenticate the connection.

Yellowfin does not ship with the driver required for this connection due to licensing/paywall reasons. You will need to manually upload the driver through the Plugin Manager.


  1. Click on the Create button and choose the data source option.
  2. Then select the database option.



  3. When the New Connection popup appears, provide a name and description for your database.
  4. Choose Google BigQuery from the list of available database options. New configuration fields will appear on doing so.


     
  5. Include Schema in SQL: Select this checkbox to add the schema name when addressing database tables in SQL queries.
  6. Project: Enter the name of the BigQuery project.
  7. Service Account: Specify the email address of your Google service account.
  8. P12 Key File Path: Provide the full path to a private key file for a service account. This is used to authenticate the service account email address. This field supports both type of key formats: .p12 and .json.

    You can download the private key file from the Google API console web page.


  9. JDBC Driver: The JDBC driver used to talk to your Google BigQuery database. You must install this driver through the Plugin Manager.
  10. Username: Enter the username of your database account.
  11. Password: Provide the password of the above account.
  12. Once you have completed your connection information, you will have several options:
    1. Advanced Connection Editor: This will take you to the Data Source page in the Admin Console and allow you to edit all the advanced options available for your database.
    2. Test Connection: This will validate the connection parameters you provided to ensure it can connect to your database. If the connection was successful, a message will appear.
    3. Create View: This will save your connection and get you started on creating a view based on it.
    4. Save & Close: This will allow you to save your connection and close the New Connection popup, returning you to the page you were on previously.
    5. Cancel: This closes the New Connection popup without saving your connection, returning you to the page you were on previously.
  13. We recommend testing the connection, and then saving it by using the Save & Close button.