Data Science

How to implement a Medallion Architecture in a Data Lakehouse for better data quality?

AS Asked by Ashley Simmons · 05-08-2024
0 upvotes 13,155 views 0 comments
The question

Our team is moving away from a traditional Data Warehouse toward a Databricks Lakehouse. I keep hearing about the "Medallion Architecture" (Bronze, Silver, Gold layers). I understand the concept, but I’m struggling with the "Silver" layer specifically. What level of cleaning and transformation should happen there versus the "Gold" layer? We want to ensure that our data scientists have access to clean data without it being too aggregated for their models.

 

3 answers

0
CY
Answered on 08-06-2024

The Medallion Architecture is all about incremental refinement. The Bronze layer is your "Raw" landing zone—no changes, just the source data. The Silver layer is where the heavy lifting happens: you should handle type casting, null handling, and deduplication here. Crucially, the Silver layer should remain at the same grain as the source. This is the "Single Source of Truth" that data scientists love because it's clean but not "summarized." The Gold layer is where you apply business logic, aggregations, and joins to create "Project-Specific" tables for BI tools like Power BI. By keeping these separate, you ensure that if business logic changes, you only have to re-run the Gold layer without re-cleaning the raw data.

0
BR
Answered on 11-06-2024

Are you planning to use "Schema Enforcement" at the Silver layer to prevent "dirty" data from breaking your downstream Gold tables? 

RO 14-06-2024

Brandon, we are definitely looking into Delta Lake's schema enforcement. My main worry is how to handle "Schema Evolution." If a source system adds a new column, I don't want the whole pipeline to crash, but I also don't want it to just ignore the new data. Is there a way to automate the "promotion" of new columns from Bronze to Silver without manual intervention every time? We have over 200 source tables, and manual updates are becoming a bottleneck for our engineering team. How do you balance "strictness" with "agility" in a large-scale environment?

0
JE
Answered on 16-06-2024

We use the Silver layer for "Enterprise-wide" joins. If multiple departments need the same joined data, we put it in Silver to avoid redundant logic in Gold. 

AS 19-06-2024

That’s a great point, Jessica. We actually treat our Silver layer as a "Data Vault" light, which makes auditing much easier for our compliance team.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

World globe icon Country: Hong Kong

Book Free Session