Data Mesh: Data Catalog, Metadata, and Data Product Discovery
Learn how to design a Data Product-oriented Data Catalog in Data Mesh, integrating technical, semantic, and operational metadata so consumers can discover and evaluate data without relying on tribal knowledge.
The indicator keeps the furthest percentage explored; marking the article complete is your choice.
When a new financial analyst joined CommerceFlow to prepare the quarterly payment reconciliation report, she opened the technical table catalog console and found 184 entries spread across six databases: payments_raw_stg_v2, settlements_tmp_bak_2025, tbl_pay_01, confirmed_payments, and paid_sales_v1_old, among many others. Not a single table indicated who owned it, whether it was still actively refreshed or abandoned, what the conceptual difference was between confirmed_payments and paid_sales, or which contract guaranteed its columns.
To unblock her work, the analyst had to post the same message across four internal chat channels: "Does anyone know which table is the official confirmed payments table and who I should ask for read permissions?" Meanwhile, an infrastructure engineer assumed the issue could be solved by scheduling an automated crawler every night over Amazon S3. By the next morning, the crawler had added 42 more tables to the catalog corresponding to temporary test folders—without a single business definition or assigned owner.
This scenario illustrates a classic failure mode in growing organizations: having tables registered in a technical query engine does not equal having discoverable data products. In a Data Mesh architecture, where multiple domains publish data autonomously, the Data Catalog serves as the storefront that enables any consumer to discover, understand, evaluate trustworthiness, and request access to data products without relying on informal tribal knowledge.
Technical Metastore, Enterprise Data Catalog, and Data Product Catalog
To design an effective cataloging strategy, the first step is distinguishing three tools that are often lumped together under the word "catalog," yet solve very different problems:
Catalog Type
Primary Purpose
What Information It Manages
Technology Example
What It Does NOT Solve on Its Own
1. Technical Metastore
Enable query engines (such as Amazon Athena or Spark) to locate physical files and parse columnar data types.
Databases, table names, physical columns, data types (string, bigint), partitions, and Amazon S3 URIs (s3://...).
If fed by indiscriminately dumping thousands of raw operational tables without domain curation, it becomes a search engine full of noise.
3. Data Product Catalog (Data Mesh)
Present complete, governed Data Products as consumable units backed by contracts, live quality status, and output ports.
Logical product card, owning domain, Data Contract version, grain, output ports, observed freshness, and access request workflow.
Discovery portal on OpenMetadata / DataHub / Backstage synced with Git manifests and AWS Glue.
Requires declarative discipline in the publication pipeline to keep technical and business metadata synchronized.
Why an automated crawler is not enough: A technical crawler (such as an AWS Glue Crawler) inspects Parquet files on S3 and infers that a column named net_amt of type DECIMAL(18,4) exists. However, no crawler can infer whether net_amt includes or excludes taxes, who the accountable Data Product Owner is during an incident, or what service-level agreement applies.
The Seven Categories of Metadata and Their Three Origins
A well-cataloged data product at CommerceFlow combines seven categories of metadata originating from three distinct sources. Understanding what generates each category avoids both tedious manual data entry and stale documentation:
┌─────────────────────────────────────────────────────────────────────────┐
│ METADATA ORIGINS IN DATA MESH │
│ │
│ 1. Declared by the Domain (Git: Manifest + Data Contract YAML) │
│ ──► Semantic, Descriptive, Ownership, Governance & Target SLA │
│ │
│ 2. Extracted from the Technical Plane (AWS Glue Data Catalog / Storage) │
│ ──► Physical schema, Parquet types, partitions, S3 location │
│ │
│ 3. Emitted at Runtime (WAP Pipeline + Query Engine Telemetry) │
│ ──► Actual last refresh timestamp, test status (PASS/FAIL), row count│
└───────────────────────────────────┬─────────────────────────────────────┘
│ Automated sync in CI/CD and Runtime
▼
┌─────────────────────────────────────────────────────────────────────────┐
│ UNIFIED CARD IN THE DATA PRODUCT CATALOG │
│ [Identity & Domain] + [Meaning & Grain] + [Contract v1.2] │
│ + [Schema & Ports] + [Live Operational Health] + [Request Access] │
└─────────────────────────────────────────────────────────────────────────┘
Descriptive metadata (Declared): Product name (confirmed-payments), executive summary, purpose, and recommended use cases.
Ownership and support metadata (Declared): Owning domain (payments), accountable squad, Data Product Owner email, and support channel (#payments-data-alerts).
Semantic and business metadata (Declared): Explicit grain definition (1 row per payment capture), links to corporate business glossary terms (e.g., "Confirmed Bank Settlement"), and functional column descriptions.
Contractual metadata (Declared and versioned): Active Data Contract identifier and version, deprecation policy, and registered consumers.
Governance and security metadata (Declared and enforced): Sensitivity classification (public_internal, confidential, restricted_pii), retention policy, and access control tags (LF-Tags).
Technical and interface metadata (Automatically extracted): Database and table in AWS Glue Data Catalog (payments_prod.confirmed_payments), file format (Apache Parquet), partition columns, and sample SQL query for Amazon Athena.
Operational and quality metadata (Emitted at runtime): Timestamp of the latest successful publication (last_published_at_utc), latest Write-Audit-Publish gate status (PASS), and 30-day freshness SLA compliance (99.8%).
Discoverability vs. Read Authorization
A core security principle in catalog design is separating permission to discover metadata from permission to query physical data:
A Finance analyst should be able to find the confirmed-payments product card in the catalog, read its schema, see who owns it, and view its sensitivity classification (confidential). If the product were completely hidden from search results, the analyst would not even know it exists and would end up building a duplicate pipeline.
However, viewing the catalog card does not grant read access to rows in Amazon S3 / Amazon Athena: to run a SELECT query, the consumer must hold the required grant in AWS Lake Formation / AWS IAM (or request it via the declarative workflow linked on the product card). Similarly, if a specialized security product contains sensitive internal fraud heuristics in its column descriptions, detailed metadata visibility can be restricted to authorized roles.
End-to-End Walkthrough: The CommerceFlow Data Product Catalog
Let's build the CommerceFlow catalog integrating four data products across its domains: sales-orders (Sales), confirmed-payments (Payments), inventory-availability (Inventory), and the aggregate product paid-sales (Sales).
Step 1: Enriched Declarative Catalog Registry in YAML
During each product deployment, the platform pipeline merges the domain manifest, its active contract, and technical properties from AWS Glue to publish the unified entry in the catalog registry (commerceflow-data-catalog.yaml):
# File: commerceflow-data-catalog.yaml# Purpose: Unified CommerceFlow Data Product Catalog combining semantic,# technical, contractual, and operational metadata.catalog_version:"2.0.0"organization:"CommerceFlow"business_glossary:term_commercial_order:name:"Confirmed Commercial Order"definition:"Purchase commitment confirmed by the customer at checkout, regardless of whether bank settlement has completed."term_bank_settlement:name:"Confirmed Bank Settlement"definition:"Payment capture confirmed and reconciled with the acquiring bank; a single order may have multiple captures."term_paid_sale:name:"Net Paid Sale"definition:"Commercial order whose net collected amount in Payments covers the billed order total after deducting refunds."products:-product_id:"sales.sales_orders"name:"sales-orders"title:"Confirmed Commercial Orders"domain:"sales"orientation:"source_aligned"lifecycle_state:"published"version:"1.2.0"contract_ref:"commerceflow.sales.sales_orders.contract@1.2.0"description:"Primary facts for customer orders placed upon completing checkout."glossary_terms: ["term_commercial_order"]
tags: ["orders", "checkout", "sales", "e-commerce"]
ownership:owner_team:"checkout-and-orders-squad"owner_email:"sales-dpo@commerceflow.internal"support_channel:"#sales-data-alerts"governance:classification:"confidential"access_request_workflow:"git_pr_manifest:access_control/sales-orders-consumers.yaml"semantics:grain: ["order_id"]
primary_keys: ["order_id"]
technical_interface:port_type:"analytical_sql"query_engine:"amazon_athena"glue_database:"sales_prod"glue_table:"sales_orders"s3_location:"s3://cf-sales-public/sales_orders/"storage_format:"apache_parquet"partition_keys: ["order_placed_date_utc"]
operational_health:sla_max_staleness_minutes:60last_published_at_utc:"2026-11-07T18:45:00Z"last_quality_gate_status:"PASS"sla_compliance_30d_pct:99.7-product_id:"payments.confirmed_payments"name:"confirmed-payments"title:"Confirmed Payments and Bank Settlements"domain:"payments"orientation:"source_aligned"lifecycle_state:"published"version:"2.1.0"contract_ref:"commerceflow.payments.confirmed_payments.contract@2.1.0"description:"Bank-settled payment captures, gateway fees, and refunds associated with each transaction."glossary_terms: ["term_bank_settlement"]
tags: ["payments", "settlements", "gateway-fees", "refunds", "finance"]
ownership:owner_team:"payments-core-squad"owner_email:"payments-dpo@commerceflow.internal"support_channel:"#payments-data-alerts"governance:classification:"confidential"access_request_workflow:"git_pr_manifest:access_control/confirmed-payments-consumers.yaml"semantics:grain: ["payment_capture_id"]
primary_keys: ["payment_capture_id"]
technical_interface:port_type:"analytical_sql"query_engine:"amazon_athena"glue_database:"payments_prod"glue_table:"confirmed_payments"s3_location:"s3://cf-payments-public/confirmed_payments/"storage_format:"apache_parquet"partition_keys: ["settlement_date_utc"]
operational_health:sla_max_staleness_minutes:60last_published_at_utc:"2026-11-07T18:50:00Z"last_quality_gate_status:"PASS"sla_compliance_30d_pct:99.9-product_id:"inventory.inventory_availability"name:"inventory-availability"title:"Physical Warehouse Inventory Availability"domain:"inventory"orientation:"source_aligned"lifecycle_state:"published"version:"1.1.0"contract_ref:"commerceflow.inventory.inventory_availability.contract@1.1.0"description:"Physical units available for sale by SKU code and fulfillment center."glossary_terms: []
tags: ["inventory", "stock", "warehouse", "sku", "logistics"]
ownership:owner_team:"wms-and-catalog-squad"owner_email:"inventory-dpo@commerceflow.internal"support_channel:"#inventory-data-alerts"governance:classification:"public_internal"access_request_workflow:"auto_grant_internal_roles"semantics:grain: ["sku_code", "warehouse_id"]
primary_keys: ["sku_code", "warehouse_id"]
technical_interface:port_type:"analytical_sql"query_engine:"amazon_athena"glue_database:"inventory_prod"glue_table:"inventory_availability"s3_location:"s3://cf-inventory-public/inventory_availability/"storage_format:"apache_parquet"partition_keys: ["snapshot_date_utc"]
operational_health:sla_max_staleness_minutes:30last_published_at_utc:"2026-11-07T18:55:00Z"last_quality_gate_status:"PASS"sla_compliance_30d_pct:99.6-product_id:"sales.paid_sales"name:"paid-sales"title:"Reconciled Net Paid Sales"domain:"sales"orientation:"aggregate"lifecycle_state:"published"version:"1.0.0"contract_ref:"commerceflow.sales.paid_sales.contract@1.0.0"description:"Sales orders reconciled with Payments captures and refunds at single-order grain."glossary_terms: ["term_paid_sale", "term_commercial_order", "term_bank_settlement"]
tags: ["paid-sales", "reconciliation", "orders", "payments", "finance"]
ownership:owner_team:"checkout-and-orders-squad"owner_email:"sales-dpo@commerceflow.internal"support_channel:"#sales-data-alerts"governance:classification:"confidential"access_request_workflow:"git_pr_manifest:access_control/paid-sales-consumers.yaml"semantics:grain: ["order_id", "currency_code"]
primary_keys: ["order_id", "currency_code"]
technical_interface:port_type:"analytical_sql"query_engine:"amazon_athena"glue_database:"sales_prod"glue_table:"paid_sales"s3_location:"s3://cf-sales-public/paid_sales/"storage_format:"apache_parquet"partition_keys: ["order_placed_date_utc"]
operational_health:sla_max_staleness_minutes:90last_published_at_utc:"2026-11-07T18:52:00Z"last_quality_gate_status:"PASS"sla_compliance_30d_pct:99.8
Step 2: A Finance Consumer's Discovery Journey
Let's trace how the financial analyst's experience transforms with this catalog:
Searching by business concept: The analyst searches for the tag "payments" or the keyword "reconciliation". The catalog returns only two official published Data Products: payments.confirmed_payments and sales.paid_sales (the 180 internal staging tables never clutter the product catalog because they remain private domain resources).
Semantic evaluation and selecting the right grain: Comparing the two product cards immediately clarifies their purpose:
To audit individual gateway transactions and per-capture fees, she needs payments.confirmed_payments (grain: ["payment_capture_id"]).
To analyze paid orders net of refunds at the order level, she should use sales.paid_sales (grain: ["order_id", "currency_code"]).
Verifying trustworthiness and contract version: On the confirmed-payments card, she sees that active contract 2.1.0 is enforced, the latest batch passed the quality gate (last_quality_gate_status: "PASS") less than 20 minutes ago, and 30-day SLA compliance stands at 99.9%.
Governed access request and querying: The card points directly to the declarative access workflow (access_request_workflow) for her IAM role in AWS Lake Formation and provides a ready-to-run Amazon Athena query template filtering by the settlement_date_utc partition key:
-- Query generated from the Data Catalog card for Amazon Athena-- Product: payments.confirmed_payments (v2.1.0) | Grain: payment_capture_idSELECT
payment_capture_id,
order_id,
payment_settled_at_utc,
currency_code,
settled_amount,
refunded_amount,
gateway_fee_amount,
payment_settlement_status
FROM payments_prod.confirmed_payments
WHERE settlement_date_utc =DATE'2026-11-07'AND payment_settlement_status ='BANK_SETTLED';
Step 3: Python Engine for Catalog Search, Freshness Evaluation, and Card Validation
The following Python script is self-contained (Python 3.10+) and demonstrates how the catalog's validation and search engine works under the hood: it prevents any product with incomplete metadata from appearing as discoverable, computes in real time whether each product meets its freshness SLA relative to the current timestamp, and supports filtering by domain, tags, free text, and operational health:
# File: catalog_discovery_engine.py# Purpose: Validate metadata completeness in a Data Product Catalog# and execute searches filtered by domain, tags, glossary terms, and live health.from dataclasses import dataclass
from datetime import datetime, timezone
from typing importAny@dataclass(frozen=True)classProductSearchResult:
product_id: str
title: str
domain: str
orientation: str
grain: list[str]
contract_ref: str
owner_email: str
athena_table: str
is_fresh: bool
staleness_minutes: float
quality_status: strdefaudit_catalog_entry_completeness(entry: dict[str, Any]) -> list[str]:
missing: list[str] = []
required_top_fields = [
"product_id",
"name",
"title",
"domain",
"orientation",
"contract_ref",
"description",
]
for field in required_top_fields:
ifnotstr(entry.get(field, "")).strip():
missing.append(f"Missing required top-level attribute: '{field}'.")
owner = entry.get("ownership", {})
ifnot owner.get("owner_email") ornot owner.get("support_channel"):
missing.append("Missing owner contact details (owner_email / support_channel).")
semantics = entry.get("semantics", {})
ifnot semantics.get("grain"):
missing.append("Product must explicitly declare its 'grain' in the catalog.")
tech = entry.get("technical_interface", {})
ifnot tech.get("glue_database") ornot tech.get("glue_table"):
missing.append("Missing technical mapping to the SQL catalog (glue_database / glue_table).")
return missing
defsearch_data_products(
catalog: dict[str, Any],
evaluation_time_utc: datetime,
query_text: str = "",
domain_filter: str | None = None,
required_tags: set[str] | None = None,
only_healthy_and_fresh: bool = False,
) -> list[ProductSearchResult]:
results: list[ProductSearchResult] = []
q_lower = query_text.strip().lower()
for prod in catalog.get("products", []):
# 1. Exclude drafts or entries with incomplete mandatory metadataif prod.get("lifecycle_state") != "published":
continueif audit_catalog_entry_completeness(prod):
continue# 2. Filter by domain when requestedif domain_filter and prod["domain"] != domain_filter:
continue# 3. Filter by tags
prod_tags = set(prod.get("tags", []))
if required_tags andnot required_tags.issubset(prod_tags):
continue# 4. Free-text search across ID, name, title, description, and tagsif q_lower:
searchable_blob = " ".join(
[
prod["product_id"],
prod["name"],
prod["title"],
prod["description"],
" ".join(prod_tags),
]
).lower()
if q_lower notin searchable_blob:
continue# 5. Evaluate live freshness against declared SLA target
health = prod.get("operational_health", {})
last_pub_str = health.get("last_published_at_utc", "")
last_pub_dt = datetime.fromisoformat(last_pub_str.replace("Z", "+00:00"))
staleness_min = (evaluation_time_utc - last_pub_dt).total_seconds() / 60.0
sla_max_min = float(health.get("sla_max_staleness_minutes", 0))
is_fresh = 0.0 <= staleness_min <= sla_max_min
q_status = health.get("last_quality_gate_status", "UNKNOWN")
if only_healthy_and_fresh and (not is_fresh or q_status != "PASS"):
continue
tech = prod["technical_interface"]
results.append(
ProductSearchResult(
product_id=prod["product_id"],
title=prod["title"],
domain=prod["domain"],
orientation=prod["orientation"],
grain=prod["semantics"]["grain"],
contract_ref=prod["contract_ref"],
owner_email=prod["ownership"]["owner_email"],
athena_table=f"{tech['glue_database']}.{tech['glue_table']}",
is_fresh=is_fresh,
staleness_minutes=round(staleness_min, 1),
quality_status=q_status,
)
)
return results
# --- Verification assertions for catalog discovery and auditing ---if __name__ == "__main__":
sample_catalog = {
"products": [
{
"product_id": "payments.confirmed_payments",
"name": "confirmed-payments",
"title": "Confirmed Payments and Bank Settlements",
"domain": "payments",
"orientation": "source_aligned",
"lifecycle_state": "published",
"contract_ref": "commerceflow.payments.confirmed_payments.contract@2.1.0",
"description": "Bank-settled payment captures and gateway fees.",
"tags": ["payments", "settlements", "finance"],
"ownership": {
"owner_email": "payments-dpo@commerceflow.internal",
"support_channel": "#payments-data-alerts",
},
"semantics": {"grain": ["payment_capture_id"]},
"technical_interface": {
"glue_database": "payments_prod",
"glue_table": "confirmed_payments",
},
"operational_health": {
"sla_max_staleness_minutes": 60,
"last_published_at_utc": "2026-11-07T18:50:00Z",
"last_quality_gate_status": "PASS",
},
},
{
"product_id": "sales.paid_sales",
"name": "paid-sales",
"title": "Reconciled Net Paid Sales",
"domain": "sales",
"orientation": "aggregate",
"lifecycle_state": "published",
"contract_ref": "commerceflow.sales.paid_sales.contract@1.0.0",
"description": "Sales orders reconciled with payments and refunds at order grain.",
"tags": ["paid-sales", "payments", "finance"],
"ownership": {
"owner_email": "sales-dpo@commerceflow.internal",
"support_channel": "#sales-data-alerts",
},
"semantics": {"grain": ["order_id", "currency_code"]},
"technical_interface": {
"glue_database": "sales_prod",
"glue_table": "paid_sales",
},
"operational_health": {
"sla_max_staleness_minutes": 90,
"last_published_at_utc": "2026-11-07T16:00:00Z", # Stale (180 min)"last_quality_gate_status": "PASS",
},
},
]
}
now_utc = datetime(2026, 11, 7, 19, 0, tzinfo=timezone.utc)
# Case 1: Search all products tagged with 'finance'
all_finance = search_data_products(
sample_catalog, now_utc, required_tags={"finance"}
)
assertlen(all_finance) == 2# Case 2: Filter strictly for fresh products currently meeting their SLA
fresh_finance = search_data_products(
sample_catalog,
now_utc,
required_tags={"finance"},
only_healthy_and_fresh=True,
)
assertlen(fresh_finance) == 1assert fresh_finance[0].product_id == "payments.confirmed_payments"assert fresh_finance[0].staleness_minutes == 10.0print("Catalog search verified:", fresh_finance[0])
Three Real-World Scenarios with Different Cataloging Decisions
Scenario 1: Synchronizing AWS Glue Data Catalog with a Product Discovery Portal (CommerceFlow)
Situation:CommerceFlow uses Amazon Athena as its SQL query engine and AWS Lake Formation to enforce permissions on tables registered in AWS Glue Data Catalog, but business analysts find the technical AWS Glue console insufficient for browsing business definitions, contracts, and SLAs.
Cataloging decision: Each Data Product's CI/CD pipeline acts as the single source of truth: upon deploying a version, an automated step updates the technical schema and LF-Tags in AWS Glue Data Catalog and, in the same workflow, publishes the enriched semantic card, YAML contract, and runtime health status to the enterprise discovery portal (such as OpenMetadata or DataHub). Nobody manually edits descriptions in two separate places.
Scenario 2: Regulated Banking and Tiered Metadata Visibility
Situation: At a financial institution, the Anti-Money Laundering (AML) domain publishes a data product containing active investigations on high-risk accounts. Under regulatory rules, neither internal heuristic column descriptions nor data samples may be visible to general bank employees, yet the Internal Audit team needs to discover that the product exists and know whom to contact for authorization.
Cataloging decision: The catalog enforces tiered metadata visibility on the product card itself: for general staff, the entry displays only its minimal header (product name, owning domain, strictly_confidential classification, and access request link); detailed column schemas and heuristic descriptions are rendered only for roles holding audit clearance.
Scenario 3: When a Simpler Alternative Is Sufficient (Progressive Adoption with Fewer Than 10 Products)
Situation: A mid-sized organization is launching its first four Data Products across two domains and is considering spending three engineering months deploying, configuring, and operating a multi-cluster metadata platform before publishing its first product.
Cataloging decision: Deploying heavy catalog infrastructure for four products is putting the cart before the horse. In the initial phase, three lightweight practices suffice:
Maintain commerceflow-data-catalog.yaml in a shared Git repository validated in CI.
Synchronize table and column descriptions directly into AWS Glue Data Catalog table/column COMMENT properties.
Automatically render a static documentation site (using MkDocs or a lightweight developer portal plugin) from the YAML file on every merge. Once the number of products and consumers scales, migrating those structured YAML manifests into OpenMetadata or DataHub is straightforward.
Using Artificial Intelligence to Enrich and Audit the Data Catalog
Large language models can speed up drafting column descriptions or spotting inconsistencies between the business glossary and published schemas, provided the Data Product Owner validates the output before committing it to the manifest.
Prompt 1: Detecting Ambiguities and Gaps in a Data Catalog Card
Act as a data governance and discovery experience lead.
Context: A domain squad wants to publish the following Data Product card to our corporate catalog.
Constraints:
- Evaluate the attached YAML card from the perspective of a consumer analyst who does NOT belong to the producer domain and does not know its internal abbreviations.
- Identify:
1. Tautological descriptions that fail to explain business meaning (for example, describing `stl_status` as `"Status of stl"`).
2. Missing declarations of table grain or which records are included/excluded.
3. Potential confusion with other business glossary terms.
- Propose clear, precise wording for each deficient field, marking in brackets `[CONFIRM WITH OWNER]` any business assumption requiring human validation.
[PASTE DATA PRODUCT YAML CARD]
What a human must verify: Confirm every item marked [CONFIRM WITH OWNER] with the domain's Data Product Owner, as a language model must never invent accounting rules or operational exclusions that do not match the actual transformation code.
Prompt 2: Generating Quickstart SQL Queries for a Catalog Card
Act as an analytics engineer.
Context: On every card in our Data Catalog, we include 2 sample SQL queries for Amazon Athena that teach consumers how to query the product safely and cost-effectively.
Constraints:
- Based on the attached technical and semantic metadata (`grain`, `partition_keys`, `schema`), write:
1. A daily exploration query that explicitly filters on the partition column (`partition_keys`) to avoid full S3 scans.
2. A safe aggregation query that respects the declared grain and groups by currency code (`currency_code`).
- Include brief comments explaining why keeping the partition filter matters.
[PASTE semantics AND technical_interface SECTIONS OF THE CARD]
What a human must verify: Run the proposed queries in the Amazon Athena staging environment to confirm that the SQL syntax (Presto/Trino) is 100% valid and actually triggers partition pruning.
Practical Application Exercises
Exercise 1: Why an AWS Glue Crawler Eroded Trust in the Catalog
The platform team configures an AWS Glue Crawler pointing to the root of the s3://cf-payments-workspace/ bucket so that it automatically catalogs every folder every night. The next day, 35 new tables such as temp_backfill_nov, test_dup_fix_02, and raw_webhook_dumps appear in the catalog right alongside the official confirmed_payments product.
Question: What two problems does this practice create for consumer discovery, and how should catalog registration be configured in a Data Mesh architecture?
Exercise 2: Diagnosing Tautological and Useless Descriptions
The Inventory domain submits a new product card for review with the following column descriptions:
wh_id: "ID of the wh."
avail_qty: "Available quantity."
sync_ts: "Synchronization timestamp."
Question: If you are an analyst from the Sales domain who has never worked with the warehouse software, what critical business questions do these three descriptions leave unanswered, and how should you rewrite them to meet the standard of a trustworthy Data Catalog?
Exercise 3: Synchronizing Live Operational Metadata
The product card for sales.paid_sales in the catalog portal displays a static text string written by hand six months ago reading: "Guaranteed refresh every 60 minutes. Quality: 100% verified." However, the paid_sales pipeline has been halted for 14 hours due to a transformation failure, with zero warnings shown on the catalog card.
Question: Why did the metadata design for this card fail, and how should freshness and quality indicators be fed into the catalog?
Reasoned Solutions to the Exercises
Solution to Exercise 1
The two problems are:
Catalog pollution with internal artifacts: Pointing a crawler at a workspace bucket exposes temporary tables, experiments, and private ingestion zones that are neither Data Products nor backed by contracts, making it impossible for consumers to tell which table is authoritative.
Absence of semantics and ownership: Tables created by a crawler lack an assigned owner, declared grain, privacy classification, and business definitions.
Proper solution: Disable indiscriminate crawling over workspace buckets. Only the verified public output ports of official Data Products should be registered into the consumption catalog via the publication pipeline (driven by the manifest and Data Contract), keeping internal staging buckets in isolated technical databases excluded from the product discovery index.
Solution to Exercise 2
The original descriptions are tautological (they merely repeat the column name without adding business context):
For wh_id, they do not state the identifier format or whether retail stores are included alongside central fulfillment warehouses.
For avail_qty, they do not clarify whether the quantity already deducts units reserved for pending orders or represents raw shelf count.
For sync_ts, they omit the time zone and fail to specify whether the timestamp reflects the physical warehouse movement or the batch job execution time.
Recommended rewrite:
warehouse_id: "Canonical identifier of the distribution fulfillment center (e.g., WH-SCL-01). Excludes third-party pickup points."
available_units: "Physical units available for new sales after deducting reservations for confirmed orders and damaged/quarantined stock."
snapshot_recorded_at_utc: "UTC timestamp indicating the exact inventory cutoff moment recorded in the Warehouse Management System (WMS)."
Solution to Exercise 3
The mistake was treating operational metadata (freshness and quality status) as static human-written prose rather than feeding it automatically from runtime telemetry.
Proper solution: The catalog must separate the declared target SLA (sla_max_staleness_minutes: 60, sourced from the YAML contract) from observed operational health (last_published_at_utc and last_quality_gate_status, emitted automatically by the Write-Audit-Publish pipeline on every run). When more than 60 minutes elapse without a successful publication event or when the WAP gate returns FAIL, the catalog automatically computes the lag (14 hours) and switches the product's visual badge to DEGRADED / STALE, warning consumers before they make decisions on stale data.
When to Apply a Data Product Catalog and Final Summary
Investing in a Data Product-oriented Data Catalog becomes a priority when:
Analysts, engineers, or data scientists spend hours every week asking in chat channels which table to use or what a column means.
Multiple tables with similar names exist in the technical metastore and consumers accidentally query internal or abandoned tables.
You want data contracts, domain owners, and live quality guarantees to be discoverable and actionable from a single entry point.
Keep in mind the thread connecting this article to the next installment in the series: a great Data Catalog lets a consumer find the right product and understand what it promises today; but to know exactly which upstream sources feed every field and which downstream products will break if a schema changes or a pipeline fails, the catalog must be paired with an end-to-end traceability graph: Data Lineage.
A comprehensive hands-on capstone project to design, build, and verify an end-to-end Data Mesh architecture on AWS using S3, Parquet, Glue, Athena, Lake Formation, Terraform, YAML contracts, and Python validations.
Learn how to connect governed Data Products in a Data Mesh with Machine Learning systems, Feature Stores, MLOps, and generative AI RAG architectures while preventing data leakage, semantic errors, and permission breaches.
A practical and strategic guide to planning enterprise Data Mesh adoption: maturity assessment, pilot selection, team topologies, FinOps cost modeling, real outcome KPIs, and criteria to avoid over-engineering.