Skip to main content

pc.create_connection_bigquery

pc.create_connection_bigquery(name, project, dataset, token)

Create connection with Google Big Query.

Parameters:

   name: str
Name of connection.

   project: str
GCP project that contains the dataset.

   dataset: str
BigQuery dataset to pull tables from.

   token: str
Service account JSON token.

Returns:

   Connection

Examples:

Connect to a Google BigQuery data source.

    connection = pc.create_connection_bigquery('BigQuery Connection', '{Project Name}', '{Dataset Name}', '{Service Account JSON Token}')