Skip to main content

Build Data Pipelines with Apache Spark Declarative Pipelines

This course introduces users to the essential concepts and skills needed to build data pipelines using Apache Spark™ Declarative Pipelines (SDP) in Databricks for incremental batch or streaming ingestion and processing through multiple streaming tables and materialized views. Designed for data engineers new to Spark Declarative Pipelines, the course provides a comprehensive overview of core components such as incremental data processing, streaming tables, materialized views, and temporary views, highlighting their specific purposes and differences.


Topics covered include:

• Developing and debugging ETL pipelines with the multi-file editor in Spark Declarative Pipelines using SQL (with Python code examples provided)

• How Spark Declarative Pipelines track data dependencies in a pipeline through the pipeline graph

• Configuring pipeline compute resources, data assets, trigger modes, and other advanced options


Next, the course introduces data quality expectations in Spark Declarative Pipelines, guiding users through the process of integrating expectations into pipelines to validate and enforce data integrity. Learners will then explore how to put a pipeline into production, including scheduling options, and enabling pipeline event logging to monitor pipeline performance and health.


Finally, the course covers how to implement Change Data Capture (CDC) using the AUTO CDC INTO syntax within Spark Declarative Pipelines to manage slowly changing dimensions (SCD Type 1 and Type 2), preparing users to integrate CDC into their own pipelines.


Note: Databricks Academy is transitioning to a notebook-based format for classroom sessions within the Databricks environment, discontinuing the use of slide decks for lectures. You can access the lecture notebooks in the Vocareum lab environment.

Skill Level
Associate
Duration
4h
Prerequisites

In this course, the content was developed for participants with these skills/knowledge/abilities:  

• Basic understanding of the Databricks Data Intelligence platform, including Databricks Workspaces, Apache Spark, Delta Lake, the Medallion Architecture, Lakeflow Jobs and Unity Catalog.

• Experience ingesting raw data into Delta tables, including using the read_files SQL function to load formats like CSV, JSON, TXT, and Parquet.

• Proficiency in transforming data using SQL, including writing intermediate-level queries and a basic understanding of SQL joins.

• Understanding of ETL concepts, and batch/streaming workflows.

Outline

• Introduction to Data Engineering in Databricks

• Demo: Course Setup and Creating a Pipeline

• Course Project and Dataset Types Overview

• Simplified Pipeline Development and Common Pipeline Settings

• Demo: Developing a Simple Pipeline

• Ensure Data Quality with Expectations

• Demo: Adding Data Quality Expectations

• Lab: Create a Pipeline

• Streaming Joins and Deploying Pipelines to Production

• Demo: Deploying a Pipeline to Production

• Change Data Capture (CDC) Overview

• Demo: Change Data Capture with AUTO CDC with SCD TYPE 1

• Bonus Lab: AUTO CDC INTO with SCD Type 1

Upcoming Public Classes

Date
Time
Your Local Time
Language
Price
Nov 05
01 PM - 05 PM (Australia/Sydney)
-
English
$750.00
Nov 05
09 AM - 01 PM (Europe/Paris)
-
English
$750.00
Nov 05
09 AM - 01 PM (America/Los_Angeles)
-
English
$750.00
Dec 03
09 AM - 01 PM (Asia/Kolkata)
-
English
$750.00
Dec 03
01 PM - 05 PM (Europe/Paris)
-
English
$750.00
Dec 03
09 AM - 01 PM (America/New_York)
-
English
$750.00
Jan 07
09 AM - 01 PM (Asia/Singapore)
-
English
$750.00
Jan 07
01 PM - 05 PM (America/New_York)
-
English
$750.00
Jan 08
09 AM - 01 PM (Europe/Paris)
-
English
$750.00

Public Class Registration

If your company has purchased success credits or has a learning subscription, please fill out the Training Request form. Otherwise, you can register below.

Private Class Request

If your company is interested in private training, please submit a request.

See all our registration options

Registration options

Databricks has a delivery method for wherever you are on your learning journey

Runtime

Self-Paced

Custom-fit learning paths for data, analytics, and AI roles and career paths through on-demand videos

Register now

Instructors

Instructor-Led

Public and private courses taught by expert instructors across half-day to two-day courses

Register now

Learning

Blended Learning

Self-paced and weekly instructor-led sessions for every style of learner to optimize course completion and knowledge retention. Go to Subscriptions Catalog tab to purchase

Purchase now

Scale

Skills@Scale

Comprehensive training offering for large scale customers that includes learning elements for every style of learning. Inquire with your account executive for details

Upcoming Public Classes

Databricks Performance Optimization - Mandarin Chinese

Databricks Performance Optimization 课程向数据工程师和分析师讲授如何在 Databricks Data Intelligence Platform 上诊断、衡量和修复性能瓶颈,以及如何将性能改进与成本关联起来。本课程遵循"先衡量、先利用平台"的工作流:让平台的自动优化功能承担繁重工作,通过 Query Profile 和系统表验证已应用的优化,再在必要时进行手动调优。

学员将以 Query Profile、Performance Insights 和查询历史记录系统表为基础,建立衡量性能的能力。在此基础上,他们将探索关键优化技术,包括数据布局与自调优托管表、liquid clustering、缓存与中间结果、shuffle、数据倾斜、溢出、行爆炸、驱动程序性能、Python UDF、serverless compute、Photon 以及成本归因。

在整个课程中,学员将针对合成零售数据中刻意设计的慢查询进行探索,并观察不同优化技术对性能的影响。他们将利用文件裁剪、任务执行时间、Photon 覆盖率和成本等依据来评估改进效果。两个基于场景的实验将强化从诊断到验证的完整优化工作流。

注意:Databricks Academy 正在将 Databricks 环境中的课堂教学转为基于 notebook 的形式,不再使用幻灯片进行授课。您可以在 Vocareum 实验环境中访问课程 notebook。

Languages Available: English | 日本語 | Português BR | 한국어

Paid
4h
Lab
instructor-led
Professional

Questions?

If you have any questions, please refer to our Frequently Asked Questions page.