From the course: End-to-End Data Engineering Project
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Solution: Add a schedule to your data pipeline
From the course: End-to-End Data Engineering Project
Solution: Add a schedule to your data pipeline
(upbeat music) - [Instructor] Let me walk you through the steps I followed to solve this challenge. In the top level in each file, I created a new job using the define_asset_job method. In Dagster, a job allows us to focus on a set of assets and materialize them using a single action. Here I use Dagster's AssetSelection to select all available assets. Then I created a schedule. A schedule in Dagster triggers a jobs run at specific intervals. The interval in this case is given by the cron_scheduler. And last, I updated the definitions to include the new job and schedule. Let me launch Dagit and show you how this looks there. In the Dagster UI, I will navigate to the overview and schedules tab. And here is the newly added schedule linked to the job. There you have it, a schedule run for our data pipeline.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Introduction to data orchestration with Dagster2m 20s
-
(Locked)
Integrating dbt models with Dagster assets3m 10s
-
(Locked)
Integrating Airbyte connections with Dagster assets3m 3s
-
(Locked)
Materializing assets using Dagit1m 52s
-
(Locked)
Challenge: Add a schedule to your data pipeline31s
-
(Locked)
Solution: Add a schedule to your data pipeline1m 5s
-
(Locked)
-