✦ Want a lab built just for you? ✦
Request a Lab ↗

Getting Started with Delta Lake on Azure Databricks

About this lab

You are a junior data engineer joining the analytics team at SoundWave, a growing music streaming startup. The team currently stores listening data as raw JSON files in cloud storage, which makes it impossible to update individual records, track changes over time, or run reliable analytics. Your manager has asked you to set up a proper data foundation using Delta Lake on Azure Databricks.

Your mission is to create an Azure Databricks workspace, load music streaming data (users, artists, tracks, and listening history) into Delta tables, and explore the core features that make Delta Lake powerful. You will run SQL queries and joins across multiple tables, perform row-level updates and deletes, use MERGE for upserts, and explore time travel to query and restore previous versions of your data.

Lab details

  • Level: Beginner
  • Cloud: Azure
  • Domain: Data Engineering
  • Duration: 75 minutes

What you will learn

  • Create an Azure Databricks workspace and compute cluster from the Azure Portal
  • Load raw JSON data into Delta tables using PySpark notebooks
  • Run SQL queries with filters, aggregations, and joins on Delta tables
  • Perform row-level UPDATE, DELETE, and MERGE operations on Delta tables
  • Use time travel to query previous table versions and restore data
  • Organize data with Unity Catalog catalogs, schemas, and volumes

Concepts covered

  • Delta Lake
  • Azure Databricks
  • ACID Transactions
  • Time Travel
  • MERGE (Upsert)
  • Unity Catalog

Technologies used

  • Azure Databricks
  • Delta Lake
  • PySpark
  • Unity Catalog
  • Azure Portal

Prerequisites

  • Basic SQL knowledge (SELECT, WHERE, GROUP BY)
  • Azure account with an active subscription
  • Basic understanding of tables and data types

Topics

  • Azure
  • Databricks
  • Delta Lake
  • PySpark
  • SQL
  • Unity Catalog
  • Music Streaming
  • Time Travel
  • MERGE
  • Beginner