- Lab
- A Cloud Guru
Partition Data in Azure Data Lake Storage Gen2
In this hands-on lab, you work for Bethany's Pie Shop, because really, who doesn't love pie? Bethany is in the process of migrating their infrastructure from multiple disparate data sources into an Azure Data Lake. You will be creating an Azure Data Lake, configuring the folder structure to support a medallion architecture utilizing file partitioning best practices, and creating a data pipeline to move data between folders.
Path Info
Table of Contents
-
Challenge
Prepare the Environment
-
Create a Synapse Analytics instance in the West US region. It should utilize a new Data Lake Storage Gen 2 account.
-
Create a SQL database instance and server in the West US region. It should utilize DTU-Based Basic Tier Compute. Make sure to choose Sample Data as the Data Source.
-
-
Challenge
Create the Medallion Architecture
- For the storage account, in Settings, Configuration.enable Allow Blob anonymous access.
- Create a Bronze Layer Container.
- Create folders for the ingestion sources Support and Marketing.
- Create a Silver Layer Container.
- Create a Gold Layer Container.
-
Challenge
Create Bronze Files
- Create a Data Factory pipeline and populate the bronze folder with a SalesLT.Customer table in Parquet format. This table should go to the Marketing folder and be named bronze_hr_03_20_2024.
- Create a Data Factory pipeline and populate the bronze folder with a SalesLT.Address table in Parquet format. This table should go to the Support folder and be named bronze_support_03_20_2024.
- Run the pipeline.
-
Challenge
Create Gold File
- Create a Data Factory pipeline to move both files from bronze and combine them as a single folder in gold (For the sake of brevity, we are bypassing the silver step).
- Once complete, go back to the storage account to verify there are now files in the correct folders.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.