Skip to content
المشاريع

paiml/databricks-data-engineering

عرض على GitHub

حول

Learn data engineering with Databricks course with examples and labs

التعلّم والتعليم

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Data Engineering with Databricks

Data Engineering with Databricks

CI Python 3.10+ License Databricks

Hands-on labs for building data pipelines with Delta Live Tables and the medallion architecture
Delta Live Tables | Expectations | Streaming | Medallion Architecture | CDC

FREE Databricks Edition: All examples and labs in this course work with the Databricks Community Edition (free). No paid account required.


Table of Contents


Overview

Learn to build production data pipelines using Databricks. This course covers:

  • Delta Live Tables — Declarative ETL pipelines with SQL and Python
  • Data Quality — Expectations for validation, cleaning, and failure handling
  • Streaming — Auto Loader for incremental file processing
  • Medallion Architecture — Bronze, Silver, and Gold layers for organized data
  • Change Data Capture — SCD Type 1 and Type 2 with apply_changes()

Quick Start

  1. Sign up for the Databricks Community Edition (free)
  2. Clone this repository:
    git clone https://github.com/alfredodeza/databricks-data-engineering.git
    
  3. Upload example files from examples/ to your Databricks workspace
  4. Create a Delta Live Tables pipeline and point it to the uploaded file
  5. Run the pipeline

Check the examples locally (optional)

The pipelines run inside Databricks. To lint and compile them on your own machine, install Python 3.10 or newer and ruff, then run the same checks CI runs.

Linux (Ubuntu)

python3 -m pip install ruff==0.14.1
ruff check examples/
python3 -m compileall -q examples

macOS

python3 -m pip install ruff==0.14.1
ruff check examples/
python3 -m compileall -q examples

Important: All example files reference /Volumes/workspace/default/ for data paths. You must update these paths to match your own workspace volume configuration.


Usage

Run Examples

Upload pipeline files to your Databricks workspace and create DLT pipelines:

Example Files Description
DLT Basics examples/dlt-basics/my_transformation.sql SQL Bronze-Silver-Gold pipeline
Streaming examples/streaming/streaming_transformation.py Batch vs streaming with Auto Loader
Simple Pipeline examples/simple-pipeline/*.py Wine ratings with full medallion layers
Inventory System examples/wine-pricing-inventory/*.py End-to-end pipeline with CDC

Complete the Labs

Lab Topic Examples
Lab 1 DLT Foundations dlt-basics/
Lab 2 Data Quality with Expectations dlt-basics/, simple-pipeline/
Lab 3 Streaming with DLT streaming/
Lab 4 Bronze Layer Fundamentals simple-pipeline/
Lab 5 Silver and Gold Layers simple-pipeline/, wine-pricing-inventory/
Lab 6 End-to-End Application wine-pricing-inventory/

Capstone Project

After completing all labs, build your own production-style pipeline in the Capstone Project. Choose a dataset and implement a complete medallion architecture with expectations, streaming, and CDC.


Course Outline

Module 1: Delta Live Tables Fundamentals

Module 2: Medallion Architecture

Module 3: End-to-End Application

See the full course outline for detailed lesson breakdowns.


Project Structure

databricks-data-engineering/
├── examples/
│   ├── dlt-basics/              # SQL-based DLT pipeline
│   ├── streaming/               # Batch vs streaming ingestion
│   ├── simple-pipeline/         # Wine ratings Bronze-Silver-Gold
│   └── wine-pricing-inventory/  # End-to-end pipeline with CDC
├── labs/                        # Hands-on lab instructions
├── docs/                        # Course outline and capstone
└── tmp/                         # Original pipeline files (reference)

Coursera Marketing Assets

This course is published on Coursera as part of the Enterprise AI and Data Engineering with Databricks specialization. Marketing assets are generated using the resolve-pipeline toolkit's Coursera slash commands.

Generated Assets

Asset File Description
Landing page coursera-page.md Course name, description, FAQs, skill tags
About about-this-course.md Instructor bios, course structure, prerequisites
Next steps next-steps.md Follow-on course recommendations
Image prompts image-prompts.md Text prompts for AI image generators
Marketing banner marketing-image.svg 1200×600 course hero banner
Logo logo-image.svg 1000×1000 square course logo
Module banners module-{1,2,3}-banner.svg 1920×1080 per-module banners
Key terms {M.L}.0-key-terms.md + SVG 5 key terms per lesson with icon banner
Reflections {M.L}-reflection.md + SVG Key points, scenarios, journal prompt per lesson
Specialization specialization/coursera-specialization.md Specialization landing page

Regenerating Assets

From the resolve-pipeline directory:

# All assets use these common arguments:
#   config:     config/databricks_de.lua
#   source-dir: ~/src/databricks-data-engineering/coursera-assets/output
#   output-dir: /tmp/coursera-out

/coursera-page config/databricks_de.lua ~/src/databricks-data-engineering/coursera-assets/output /tmp/coursera-out
/coursera-keyterms config/databricks_de.lua ~/src/databricks-data-engineering/coursera-assets/output /tmp/coursera-out
/coursera-reflection config/databricks_de.lua ~/src/databricks-data-engineering/coursera-assets/output /tmp/coursera-out

Resources

Related Courses:


Contributing

See CONTRIBUTING.md for guidelines.

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request

License

Apache License 2.0 — see LICENSE for details.


Made with care by Pragmatic AI Labs


Learn data engineering: Databricks Lakehouse Fundamentals (Coursera) · Data Engineering Foundations program (edX)

More courses from Noah Gift and Pragmatic AI Labs.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…