Schedule data preparations
This document describes how to schedule data preparation pipelinesand perform manual runs.
Data preparations are powered byDataform.Each data preparation schedule is run using your Google Account user credentialsor aDataform service accountthat you select when you configure the schedule or test run.
Changes you make to the data preparation steps aren't automatically saved. Youmust save and deploy the changes before they can be executed with a schedule.Schedules always run the latest deployed version of your data preparation andexclude any undeployed changes you might be developing.
Before you begin
Before you begin,create a data preparation.
Required roles
To authorize a data preparation with a service account whenmanually running the data preparation in developmentorscheduling the data preparation,you must grant the roles to the service account that you plan to use forexecuting the data preparation runs. For more information, seeGive access to the Dataform service account.
To enhance security for scheduling, seeImplement enhanced scheduling permissions.
Develop a data preparation
As you develop a data preparation, you can manually run the steps and inspectthe output before you deploy the changes to production. You can test the currentversion you're developing on your data, whileBigQuery continues to run the latest deployed version, according to aschedule. Before you can perform the run, you mustconfigure the destination,and fix any validation errors.
Manually run a data preparation in development
To test your data preparation steps and validate the results in your destinationtable, run the data preparation manually from the data preparation editor:
In the Google Cloud console, go to theBigQuery page.
In the left pane, clickExplorer:

If you don't see the left pane, clickExpand left pane to open the pane.
In theExplorer pane, expand your project and clickData preparations.
Click the name of the data preparation that you want to run.
In the data preparation editor toolbar, clickMore> Configurerun now experience.
In theAuthentication section, authorize the data preparation withyour Google Account user credentials or a service account.
- To use your Google Account user credentials(Preview), selectExecute with my user credentials. This is the default option.
- To use a service account, selectExecute with selected service account, and then select a serviceaccount. If the service account needs additional permissions, grant itthe required roles by clickingGrant all.
ClickSave.
Fix any validation errors that appear.
From the data preparation editor toolbar, clickRun.
In theRun now dialog, clickConfirm to acknowledge that thismanual run writes data to a destination table, which you might also beusing for scheduled runs.
If you selectedExecute with my user credentialsfor your authentication method, you mustauthorize your Google Account(Preview).
The run then executes your steps and loads the output to thedestination.
Optional: After the run is complete, you can view the details about theexecution in theExecutions pane.
Deploy a data preparation
To schedule runs for a version of your data preparation, you must first deployit. Schedules run the most recently deployed version.
To deploy a data preparation, follow these steps:
In the Google Cloud console, go to theBigQuery page.
In the left pane, clickExplorer:

In theExplorer pane, expand your project and clickData preparations.
Click the name of the chosen data preparation.
The data preparation editor opens.
In the data preparation editor toolbar, clickDeploy.
Create a schedule
To create a schedule that executes the deployed data preparation steps andloads the prepared data into the destination table, you must first schedule adata preparation run. To schedule the run, you mustconfigure the destination,and fix any validation errors.
To create a data preparation schedule, follow these steps:
Explorer pane
In the Google Cloud console, go to theBigQuery page.
In the left pane, clickExplorer:

In theExplorer pane, expand your project and clickData preparations.
Click the name of the data preparation that you want to schedule.
From the data preparation editor toolbar, clickSchedule.
Enter a schedule name.
In theAuthentication section, authorize thedata preparation with your Google Account user credentials or a serviceaccount.
- To use your Google Account user credentials(Preview), selectExecute with my user credentials.
- To use a service account, selectExecute with selected service account, and then select a serviceaccount.
Schedule a frequency.
ClickCreate schedule. If you selectedExecute with my user credentialsfor your authentication method, you mustauthorize your Google Account(Preview).
Scheduling page
In the Google Cloud console, go to theScheduling page.
ClickCreate, and then selectData Preparation schedule from the menu.
In theSchedule data preparation pane, in theData preparation field,select the data preparation that you want to schedule.
In theSchedule name field, enter a name for the schedule.
In theAuthentication section, authorize thedata preparation with your Google Account user credentials or a serviceaccount.
- To use your Google Account user credentials(Preview), selectExecute with my user credentials.
- To use a service account, selectExecute with selected service account, and then select a serviceaccount.
In theSchedule frequency section, do the following:
- In theRepeats menu, select the frequency of data preparation runs.
- In theAt time field, enter the time for scheduled data preparation runs.
- In theTimezone menu, select the timezone for the schedule.
ClickCreate schedule. If you selectedExecute with my user credentialsfor your authentication method, you mustauthorize your Google Account(Preview).
Authorize your Google Account
Preview
This product or feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of theService Specific Terms. Pre-GA products and features are available "as is" and might have limited support. For more information, see thelaunch stage descriptions.
Note: To request support or provide feedback for this feature, contactdataform-preview-support@google.com.To authenticate the resource with yourGoogle Accountuser credentials, you must manually grant permission for BigQuerypipelines to get the access token for your Google Account and access the sourcedata on your behalf. You can grant manual approval with the OAuth dialoginterface.
You only need to give permission to BigQuery pipelines once.
To revoke the permission that you granted, follow these steps:
- Go to yourGoogle Account page.
- ClickBigQuery Pipelines.
- ClickRemove access.
Changing the data preparation schedule owner by updating credentialsalso requires manual approval if the new Google Account owner has nevercreated a schedule before.
Manually run a scheduled data preparation
When you manually run a data preparation in a selected schedule,BigQuery executes the data preparation once,independently from the schedule.
To manually run a scheduled data preparation, follow these steps:
In the Google Cloud console, go to theScheduling page.
Click the name of the selected data preparation schedule.
On theSchedule details page, clickRun.
View schedules
You can view data preparation schedules from the data preparation editor or theScheduling page.
Data preparation editor
To view the schedule for a data preparation, follow these steps:
- In the data preparation editor toolbar, clickscheduleView schedule.
- Optional: To view the schedule history, clickView past executions.
Scheduling page
To view all data preparation schedules in your project, follow these steps:
In the Google Cloud console, go to theScheduling page.
Optional: To view the run history and details of a selected schedule,click the name of the schedule. History of manual runs is not shown.
Edit a schedule
You can edit a schedule from the data preparation editor or theScheduling page.
Data preparation editor
To edit a schedule, follow these steps:
- In the data preparation editor toolbar, clickscheduleView schedule.
- In theSchedule data preparation dialog, clickEdit and thenupdate the schedule.
- ClickUpdate schedule.
Scheduling page
To edit a schedule, follow these steps:
In the Google Cloud console, go to theScheduling page.
Click the name of the selected data preparation schedule.
On theSchedule details page, clickEdit.
ClickView schedule.
In theSchedule data preparation dialog, clickEdit and thenupdate the schedule.
ClickUpdate schedule.
Delete a schedule
To permanently delete a schedule for a selected data preparation, follow thesesteps:
In the Google Cloud console, go to theScheduling page.
In the row that contains the schedule, clickmore_vertActions> Delete.
What's next
- Learn how tocreate data preparations.
- Learn more aboutmanaging data preparations.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-15 UTC.