QuestionQ249

VerifiedData Processing & Transformations

A data engineering team is building the Gold layer of their Unity Catalog-governed lakehouse for downstream BI and analytics consumers. They want to expose business-ready metrics that offer:

  • Fast query performance
  • Consistent, reusable definitions
  • Transformation logic implemented in Spark notebooks

Which type of Gold layer object satisfies these requirements?

Explanation

A materialized view is a Unity Catalog managed object that physically stores the precomputed results of a query (built using Spark/SQL transformation logic) and refreshes them on a schedule or incrementally as source Silver data changes. Because the aggregation work is done ahead of time, BI tools querying the materialized view get fast response times and a single, consistent definition of each metric, rather than recomputing joins/aggregations themselves. This matches the Gold layer's purpose of providing curated, performant, and governed business metrics, unlike raw streaming tables, pass-through views over Bronze data, or ungoverned flat files in object storage.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!