Manage pipelines
This document describes how to manage BigQuery pipelines, including how to view, schedule, deploy, and delete pipelines.
This document also describes how to view and manage pipeline metadata in Knowledge Catalog.
Pipelines are powered by Dataform. You can organize and manage pipelines stored in Files and Folders (user folders and team folders) or in BigQuery Studio Git repositories (Git Folders) (Preview).
Before you begin
- Create a BigQuery pipeline.
- To manage pipeline metadata in Knowledge Catalog, ensure that the Dataplex API is enabled in your Google Cloud project.
Required roles
To get the permissions that you need to manage pipelines, ask your administrator to grant you the following IAM roles:
-
To view and run pipelines:
- Dataform Viewer (
roles/dataform.Viewer) on the project - BigQuery Job User (
roles/bigquery.jobUser) on the project
- Dataform Viewer (
-
To run pipelines with user credentials for a Google Account:
BigQuery Data Editor (
roles/bigquery.dataEditor) on the project or specific BigQuery datasets -
To delete pipelines:
Dataform Admin (
roles/dataform.Admin) on the pipeline -
To manage pipelines in user folders:
- Code Owner (
roles/dataform.codeOwner) on the folder - Code Editor (
roles/dataform.codeEditor) on the folder - Code Viewer (
roles/dataform.codeViewer) on the folder
- Code Owner (
-
To manage pipelines in team folders:
- Team Folder Owner (
roles/dataform.teamFolderOwner) on the team folder - Team Folder Contributor (
roles/dataform.teamFolderContributor) on the team folder - Team Folder Viewer (
roles/dataform.teamFolderViewer) on the team folder
- Team Folder Owner (
-
To manage pipelines in Git repositories:
Developer Connect OAuth User (
roles/developerconnect.oauthUser) on the project -
To view and manage metadata in Knowledge Catalog:
Dataplex Catalog Editor (
roles/dataplex.catalogEditor) on the project or@bigqueryentry group
For more information about granting roles, see Manage access to projects, folders, and organizations.
You might also be able to get the required permissions through custom roles or other predefined roles.
For more information about Dataform IAM, see Control access with IAM. For more information about roles for folders, see Create and manage folders. For more information about roles for Git repositories, see Manage code with BigQuery Studio Git repositories.
If you use a custom service account to run pipelines, you must grant the following roles to that service account:
- BigQuery Job User
(
roles/bigquery.jobUser) on the project - BigQuery Data Editor
(
roles/bigquery.dataEditor) on the project or specific BigQuery datasets - Dataplex Catalog Editor
(
roles/dataplex.catalogEditor) on the project or@bigqueryentry group
View pipelines
You can view and inspect pipelines stored in folders or Git folders in the Files pane. You can view standalone pipelines and pipelines stored in folders in the Explorer pane. Pipelines stored in Git folders are not displayed in the Explorer pane.
View pipelines in the Files pane
Pipelines stored in folders or in Git folders appear directly in the Files pane.
To view a pipeline stored in a folder or Git folder, follow these steps:
In the Google Cloud console, go to the BigQuery page.
In the left pane, click Files to open the file browser.
If you don't see the left pane, click Expand left pane to open the pane.
Expand your User folder, a Team folder, or a connected Git repository folder.
Pipelines are displayed with a Pipeline icon instead of a standard folder icon.
Click a pipeline folder to open the Pipeline Viewer.
The Pipeline Viewer displays the compiled Directed Acyclic Graph (DAG) of your pipeline tasks, execution status, and configuration tabs.
Expand the pipeline directory in the file browser to browse nested directories (such as
definitions/) and individual task files.
View pipelines in the Explorer pane
To view a list of standalone pipelines and pipelines stored in folders, do the following:
In the Google Cloud console, go to the BigQuery page.
In the left pane, click Explorer:

If you don't see the left pane, click Expand left pane to open the pane.
In the Explorer pane, expand your project and click Pipelines.
Select a pipeline to open it in the Pipeline Viewer.
View past manual runs
To view past manual runs of a selected pipeline, follow these steps:
In the Google Cloud console, go to the BigQuery page.
In the left pane, click Explorer:

In the Explorer pane, expand your project, click Pipelines, and then select a pipeline.
Click Executions.
Optional: To refresh the list of past runs, click Refresh.
Configure alerts for failed pipeline runs
Each pipeline has a corresponding Dataform repository ID. Each BigQuery pipeline run is logged in Cloud Logging using the corresponding Dataform repository ID. You can use Cloud Monitoring to observe trends in Cloud Logging logs for BigQuery pipeline runs and to notify you when conditions you describe occur.
To receive alerts when a BigQuery pipeline run fails, you can create a log-based alerting policy for the corresponding Dataform repository ID. For instructions, see Configure alerts for failed workflow invocations.
To find the Dataform repository ID of your pipeline, do the following:
In the Google Cloud console, go to the BigQuery page.
In the left pane, click Explorer:

In the Explorer pane, expand your project, click Pipelines, and then select a pipeline.
Click Settings.
The Dataform repository ID of your pipeline is displayed at the bottom of the Settings tab.
Delete a pipeline
To permanently delete a pipeline, follow these steps:
- In the Google Cloud console, go to the BigQuery page. Go to BigQuery
To delete a pipeline stored in a folder or Git folder, do the following:
In the left pane, click Files.
In the file tree, find the pipeline folder that you want to delete.
Click View actions next to the pipeline folder, and then click Delete.
In the confirmation dialog, click Delete.
The pipeline folder and all tasks and files contained within it are deleted from your workspace.
To delete a pipeline listed in the Explorer pane, do the following:
In the left pane, click Explorer:

In the Explorer pane, expand your project and click Pipelines.
Find the pipeline that you want to delete.
Click View actions next to the pipeline, and then click Delete.
Click Delete.
Manage metadata in Knowledge Catalog
Knowledge Catalog lets you store and manage metadata for pipelines. Pipelines are available in Knowledge Catalog by default, without additional configuration.
You can use Knowledge Catalog to manage pipelines in all pipeline locations. Managing pipelines in Knowledge Catalog is subject to Knowledge Catalog quotas and limits and Knowledge Catalog pricing.
Knowledge Catalog automatically retrieves the following metadata from pipelines:
- Data asset name
- Data asset parent
- Data asset location
- Data asset type
- Corresponding Google Cloud project
Knowledge Catalog logs pipelines as entries with the following entry values:
- System entry group
- The system entry group
for pipelines is
@dataform. To view details of pipeline entries in Knowledge Catalog, you need to view thedataformsystem entry group. For instructions about how to view a list of all entries in an entry group, see View details of an entry group in the Knowledge Catalog documentation. - System entry type
- The system entry type
for pipelines is
dataform-code-asset. To view details of pipelines,you need to view thedataform-code-assetsystem entry type, filter the results with an aspect-based filter, and set thetypefield insidedataform-code-assetaspect toWORKFLOW. Then, select an entry of the selected pipeline. For instructions about how to view details of a selected entry type, see View details of an entry type in the Knowledge Catalog documentation. For instructions about how to view details of a selected entry, see View details of an entry in the Knowledge Catalog documentation. - System aspect type
- The system aspect type
for pipelines is
dataform-code-asset. To provide additional context to pipelines in Knowledge Catalog by annotating data pipeline entries with aspects, view thedataform-code-assetaspect type, filter the results with an aspect-based filter, and set thetypefield insidedataform-code-assetaspect toWORKFLOW. For instructions about how to annotate entries with aspects, see Manage aspects and enrich metadata in the Knowledge Catalog documentation. - Type
- The type for data canvases is
WORKFLOW. This type lets you filter pipelines in thedataform-code-assetsystem entry type and thedataform-code-assetaspect type by using theaspect:dataplex-types.global.dataform-code-asset.type=WORKFLOWquery in an aspect-based filter.
For instructions about how to search for assets in Knowledge Catalog, see Search for data assets in Knowledge Catalog in the Knowledge Catalog documentation.
Metadata enrichment and data quality scorecard integration
Dataform can publish the following metadata to Knowledge Catalog:
- Overview aspect type
- Generic aspect type
- Data quality scorecard aspect type
Dataform assertions are automatically integrated with the Knowledge Catalog data quality scorecard. During pipeline execution, the results of any Dataform assertions are automatically published to Knowledge Catalog. These results populate the Knowledge Catalog data quality scorecard with a pass or fail status.
To check the status of a metadata update, follow the instructions in View past manual runs.
After the metadata has been synchronized, you can search for and view the entry in Knowledge Catalog. For more information, see Search for resources.
What's next
- Learn more about BigQuery pipelines.
- Learn how to create pipelines.
- Learn how to schedule pipelines.
- Learn how to manage code with BigQuery Studio Git repositories.
- Learn how to organize code assets with folders.
- Learn more about Dataform Deployments.