1 min read

Medallion Architecture: Data Governance and Lineage

Plan Medallion governance and lineage across Bronze, Silver, and Gold. Compare access, masking, retention, and audit evidence, including BI export gaps.

Medallion Architecture: Data Governance and Lineage

You apply governance in a Medallion Architecture by treating Bronze, Silver, and Gold as three different risk zones. Bronze holds raw, often sensitive data, so few people get near it. Silver holds cleaned, partly masked data for analysts. Gold serves business users with curated data. Lineage traces each hop, so you can prove where a number came from. That trace only reaches as far as your connectors and in-platform transforms. Nothing here enforces policy for you.

This page covers governance design, not the full Medallion build. For build sequencing, use the Medallion implementation checklist hub. Here, governance is a set of decisions you make layer by layer. The matrix below shows where each one lands.

Key Takeaways

  • Treat each layer as a risk zone, not a folder. Bronze, Silver, and Gold need different access, masking, and retention rules.

  • Access control belongs in the platform. A documented matrix is a design intent, not an enforcement mechanism.

  • Lineage covers what your connectors and transformations can see. Test the BI and export edges, where lineage usually stops.

  • Column-level lineage is what makes audits answerable. Table-level lineage alone leaves you guessing.

  • Run data quality checks at each layer, and name an owner for the evidence you keep.

Medallion Architecture Layers

Medallion Architecture Layers

Image Source: pexels

Raw, Trusted, and Business Data

Each layer has a distinct job. The Bronze Layer holds raw data as it arrives, with no edits. You keep it so you can replay history later. Silver takes that raw data, cleans it, fixes errors, and applies rules. Gold shapes curated data for reports and analytics.

Here is a table that shows what each layer does:

Layer

Description

Bronze Layer

Contains raw, unprocessed data as it arrives, serving as the data's landing zone.

Silver Layer

Represents validated, cleaned, and standardized data ready for reliable analysis.

Gold Layer

Curated data ready for business intelligence, reporting, and advanced analytics.

Data moves one layer at a time, and each hop should improve quality and structure. That progression is what makes layered data worth trusting for real decisions.

Layer Roles in Data Management

Each layer plays a different governance role. Bronze is the first stop for all data. You keep it unchanged, which lets you prove provenance. Silver is where cleaning and organizing happen, so teams can share data without rework. Gold focuses on business needs: enrichment, aggregation, and reporting.

  • Bronze: preserve data integrity and keep a replayable foundation.

  • Silver: validate and refine data so many teams can use it.

  • Gold: optimize data for decision-making and reporting.

Those roles become useful only when policies actually differ by layer. If Bronze, Silver, and Gold all run the same controls, you have copied data three times and gained nothing. The value comes from loosening things as risk drops, layer by layer.

Data Lineage in Medallion Architecture

Data Lineage in Medallion Architecture

Image Source: pexels

Table and Column Lineage

You need to track how data moves and changes from one table or column to another. This helps you understand the full journey of your data. In Medallion Architecture, you can use several methods to capture lineage. Here are the most common ways:

  1. Data Patterns: You use metadata to guess how data flows. This method works fast but may not always be accurate.

  2. Logs: You check job execution logs to see how data moves. This gives you better accuracy but might miss rare cases.

  3. Code: You read the code that moves and transforms data. This method is very accurate but needs special tools.

  4. Data Tagging: You tag data during processing. This works well inside the tool but does not show what happens outside.

  5. Self-Contained Systems: You use built-in lineage features in platforms. These work only within the system.

  6. Manual Lineage: You document lineage yourself. This captures business meaning but can become outdated or have mistakes.

Pick the method that fits your tools and tolerance for gaps. One caveat matters more than the rest. Lineage is only as complete as your connectors and transformations. If a step happens outside your platform, or in custom code the parser can't read, the chain breaks there. Column-level lineage narrows those gaps, because it tracks individual fields, not just tables.

Where Lineage Stops

Most lineage maps look solid until they hit the last mile. Dataform gives you a clear view of how data moves inside the warehouse, which helps you find problems and meet audit needs. Once data leaves for a BI tool, a CSV export, or a partner API, the map goes quiet.

That gap is where audits get awkward. You need to test the BI and export boundaries yourself, not assume they're covered. For the pattern behind this problem, read why lineage no longer ends at the dashboard.

Cross-System Lineage

Tracing across systems is harder than tracing inside one warehouse. Automated lineage tools help you track dependencies across pipelines and transformations. Some generate code that exposes data dependencies. Others read your transformation graphs and report how tables connect. Either way, coverage depends on how much of your stack they can see.

Tip: Check what a lineage tool actually parses before you trust it in an audit. Ask which connectors it supports.

Lineage Use Cases

You use data lineage for many reasons. Here are some key use cases:

  • You track and audit data transformation steps.

  • You find the root cause of data issues.

  • You check the impact of changes before you make them.

  • You support regulatory audits by showing clear data paths.

Lineage in a Medallion Architecture gives you control you can show someone. It documents paths. It does not prove compliance on its own, and it does not close gaps it cannot see.

Data Governance Practices

Access Controls and Policy Management

Access controls protect data at every layer. In Medallion Architecture, you can set different permissions for each layer. Only data engineers should see raw Bronze data. Data scientists and analysts work in Silver, where data is cleaned. Gold serves business users who need data for reports.

To manage access, you should:

  • Use multi-factor authentication for all users.

  • Enforce the principle of least privilege. Give users only the access they need.

  • Set up OAuth token authentication and keep tokens secure.

  • Limit administrative privileges and match them to user roles.

  • Define how users access systems, data, and even physical locations.

  • Review access regularly and update roles as needed.

Role-based and attribute-based controls limit who sees sensitive fields. The layer structure helps because boundaries mirror risk. You write fewer, clearer rules instead of one sprawling policy set. Still, the controls live in your catalog, warehouse, or query engine. The architecture only gives you a clean place to apply them.

Tip: Define access controls early in your design. Clear boundaries between layers limit exposure of raw data.

A Layer-by-Layer Governance Matrix

You can't fix governance with a diagram, so treat the matrix below as design intent. It describes what you should configure in your platform. Each row is a decision to make, not a feature that switches on by itself.

Control

Bronze

Silver

Gold

Raw sensitive data

Stored as-is, including PII. Highest exposure risk.

Cleaned, with sensitive fields normalized or hashed.

Aggregated only. No raw PII in published marts.

Masking

None by default. Use query-time masking for on-call access.

Tokenize or mask high-risk columns during transformation.

Rarely needed, since fields are already aggregated.

Row policies

Restrict by source system and region.

Filter by tenant or department for shared tables.

Filter by market, business unit, or customer segment.

Column policies

Deny reads on PII columns for all but platform roles.

Allow reads on masked columns, deny on raw keys.

Allow reads on metrics, deny on any residual identifiers.

Service roles

Ingestion service: write only, no read for humans.

Transformation service: read Bronze, write Silver.

BI service account: read only, scoped to marts.

Retention

Longest. Keep for replay and audit, capped by policy.

Medium. Keep revision window for backfills.

Shortest. Retain only published, versioned snapshots.

Column-level lineage

Capture source to Bronze, including record id.

Capture field-level transforms and masking steps.

Capture mart to metric mapping for reporting.

Audit evidence and owner

Ingest logs and access logs. Owner: data platform team.

Transform logs and test runs. Owner: data engineering.

Metric definitions and change history. Owner: analytics.

Read the matrix as a configuration checklist, not as proof of coverage. Platforms can enforce row filters, column denies, and masking, but only where they support those features. No table layout enforces good placement. Laying it out neatly does nothing on its own. A policy only bites when you write it into the catalog, the warehouse, or the query layer, and then test it.

Two limits deserve a direct statement. First, the matrix doesn't create lineage. Your lineage tool must reach each layer's writes before you can trace a field. Second, retention is capped by storage and policy, not by the layer name. If nobody reviews the setting, it drifts.

Compliance and Security

Regulations differ by industry and region, so map them to your own obligations rather than assuming a layer handles them. The practical work is less glamorous than the diagram. Classify and tag sensitive columns. Encrypt data at rest and in transit. Keep audit logs short of nothing that matters.

Retention is the control teams skip. In Bronze, long retention supports replay, but it also keeps raw personal data around. Set a ceiling and stick to it. In Gold, short retention reduces exposure and storage cost. Neither is compliance by default. Each is a policy you write, test, and revisit.

Note: Clear layer boundaries make policies easier to audit. They don't certify anything for you.

Data Quality Assurance

You want your data to be accurate and reliable. Medallion Architecture helps you check data quality at every step. In the Bronze Layer, you focus on making sure the data is complete and matches the expected format. In the Silver Layer, you clean the data and remove errors. In the Gold Layer, you check that the data is ready for business decisions.

You can use tools like Delta Lake constraints, dbt tests, and Great Expectations to automate these checks. Regular quality checks help you catch problems early and keep your data trustworthy.

Here is a table showing what to check at each layer:

Layer

Metrics Focus

Key Attributes

Bronze

Foundational aspects

Completeness, Freshness, Schema Conformity

Silver

Efficiency of cleansing and transformation

Improvement in scores compared to Bronze

Gold

Business relevance and decision-making readiness

Metrics accuracy, Consistency, Stability

These checks support Data Governance, but they don't replace a review of your regulatory obligations. Clear data stages also make ownership easier to assign. Each team can see which layer it owns and what it must keep clean.

Remember: Good Data Governance starts with clear roles, strong controls, and regular checks at every layer.

Operational Benefits and Implementation

Analytics Enablement

Medallion Architecture helps analytics teams move faster. You can build a unified view of your customers and deliver more relevant experiences. Teams trust data more when it's accurate and consistent. Decisions get quicker when every stage is reliable. Cleaning and transforming data layer by layer also cuts errors.

Some key benefits include:

  • Unified customer views for better service

  • Accurate models that help you spend your marketing budget wisely

  • Reliable metrics that keep your teams working toward the same goals

  • Faster insights that support confident decision-making

  • Improved privacy and security for sensitive data

  • Fewer errors and higher data quality

You can use open-source tools and cloud platforms to process data quickly. This setup lets you analyze data from many systems and find new insights. You also reduce data duplication by storing only one copy of each dataset.

Implementation Steps

For sequencing beyond governance, work through the Medallion Architecture implementation checklist. The governance-specific steps look like this:

  1. Ingest raw data into the Bronze layer. Store it unchanged, and lock down read access at the same time.

  2. Clean and deduplicate data in the Silver layer. Mask high-risk fields as part of the transform, not after it.

  3. Curate in the Gold layer. Apply business rules, publish only aggregates, and record which metric maps to which mart.

Check data at each step. Validate schema in Bronze. Fix errors in Silver. Confirm business rules in Gold. Then test the controls themselves, because a rule nobody tested is a guess.

Tip: Encourage teams to own their layer's data. Ownership prevents mistakes better than review meetings do.

Measuring Success

You need to measure how well your Data Governance and lineage work. Use clear metrics to track progress and find areas to improve.

Metric Type

Description

Data Quality

Completeness, accuracy, failed checks, schema drift

Freshness

Time-to-availability, pipeline uptime, recovery time

Consumption

Dashboard usage, API calls, stakeholder feedback

Productivity

Time from request to delivery, code reuse

Cost and Efficiency

Cost per query, storage growth, compute use

You can also use best practices for continuous improvement. Check data sources in the Bronze layer. In the Silver layer, look for data anomalies and fix them. In the Gold layer, make sure business rules are correct and data is consistent.

Remember: Regular reviews and clear metrics help you keep your data platform strong and reliable.

Governance and lineage pay off when they run alongside the build, not after it. Start with high-value decisions worth improving, then set up workspaces and define where controls apply. Build Bronze and Silver, apply cleaning and quality checks, and share early results. Next, design Gold datasets, connect reports, and tune performance. Finally, harden the system, turn on monitoring, and retire old pipelines.

Make governance and lineage a habit, not a project. Then your platform grows without outrunning your controls.

FAQ

Does Medallion Architecture enforce data governance on its own?

No. The three-layer layout gives you separate places to apply controls. Your catalog, warehouse, or query engine still has to enforce them. You get governance only when you configure access rules, masking, and retention per layer, then test that they work.

What is the difference between table-level and column-level lineage?

Table-level lineage shows which tables feed which. That's useful for impact analysis, but it can't tell you which field carries PII. Column-level lineage follows individual fields through joins, casts, and masking steps. That's the level auditors usually ask for.

Why does lineage stop at the dashboard or export?

Most lineage tools read warehouse logs and transformation code. Data that leaves through a BI tool, a CSV export, or a partner API often bypasses that instrumentation. You close the gap by testing those boundaries directly, not by trusting the map.

Who should own governance at each layer?

Assign ownership by layer, not by committee. Bronze usually belongs to the data platform team, Silver to data engineering, and Gold to analytics. Each owner keeps that layer's audit evidence and its retention setting. Shared ownership tends to mean no ownership.

See Also

The Growth of Decentralized Metadata Control by 2025

Comprehending the Structure of Cloud Data Systems

Exploring Key Elements of Big Data Architecture

Understanding OLAP Cubes: Their Importance and Functionality

Real-World Examples of Big Data Architecture Applications

Related Articles