Dataform
The Dataform connector for Rudol allows you to integrate your Dataform metadata. Rudol will be able to access metadata related to SQLX to discover data lineage relationships between the tables and views in your BigQuery Warehouse.
info
This integration is only available for Dataform Native Bigquery Service.
Connection parameters
| Name | Type | Description |
|---|---|---|
| Service Account Keyfile | json | JSON Service Account key file content, see Generate Service Account keyfile |
| Dataset location | text | Dataset region, single and multiregion locations are supported (i.e. us-central-1 or US) |
Generate Service Account keyfile
Create a service account in your-storage-project
- In the Google Cloud console, go to IAM & Admin -> Service Accounts page.
- Select your project.
- Click + CREATE SERVICE ACCOUNT.
- In the Service account name field, enter a name. The Google Cloud console fills in the Service account ID field based on this name.
- Click CREATE AND CONTINUE.
- Click Select a role field and add the required roles.
info
Minimum permissions for lineage discovery require at least Dataform viewer role.
- Click Done to finish creating the service account.
- Do not close your browser window. You will use it in the next step.
Download a JSON key for the service account you just created
- In the Google Cloud console, click the email address for the service account that you created.
- Click KEYS.
- Click ADD KEY, then click Create new key.
- Click CREATE. A JSON key file will be downloaded to your computer.
Your JSON Service Account key file should look like this:
{
"type": "service_account",
"project_id": "your-composer-project",
"private_key_id": "132asd123asd123asd",
"private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\\n",
"client_email": "my-service-account@your-composer-project.iam.gserviceaccount.com",
"client_id": "1234567890123456789",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/my-service-account%40your-composer-project.iam.gserviceaccount.com"
}
If you need more details on the previous steps you can check BigQuery Doc here