LabHub

Blog

Semantic Layer·Metrics Store·Reverse ETL, The Complete Guide: dbt·Cube·Looker·Hightouch·Census, and Data Activation (2025)

한국어English日本語中文

Season 5 Ep 5 — If Ep 4 was the engineering of pipelines, Ep 5 is the 2025 edition of an old promise: "define the meaning of data exactly once."

Prologue — "Why Does Revenue Come Out Different on Every Team?"

A classic confusion that many companies lived through in 2015:

Same data, different numbers. The reasons:

Every team writes its own SQL, so the definitions drift apart. Semantic Layer is the attempt to solve this by gathering "metric definitions in one place."


Chapter 1 · A History of the Semantic Layer

1.1 First Generation: Definitions Inside the BI Tool

1.2 Second Generation: Looker's LookML (2013–)

1.3 Third Generation: Headless / Open Semantic Layer (2020–)

1.4 Why It Is Rising Again Now


Chapter 2 · The Anatomy of a Semantic Layer

2.1 Core Entities

2.2 Relationships and Joins

2.3 Filters and Parameters

2.4 Example (dbt Semantic Layer / MetricFlow)

semantic_models:
  - name: orders
    model: ref('fact_orders')
    entities:
      - name: order_id
        type: primary
      - name: customer_id
        type: foreign
    measures:
      - name: total_amount
        agg: sum
        expr: amount_krw
    dimensions:
      - name: order_date
        type: time
        type_params: {time_granularity: day}

metrics:
  - name: gross_revenue
    type: simple
    type_params:
      measure: total_amount

→ API call: metric('gross_revenue', filters=..., group_by=['order_date'])


Chapter 3 · dbt Semantic Layer / MetricFlow

3.1 Background

3.2 Structure

3.3 Strengths

3.4 Limits


Chapter 4 · Cube — "A Semantic Layer for Developers"

4.1 Identity

4.2 Characteristics

4.3 Example

cube(`Orders`, {
  sql: `SELECT * FROM fact_orders`,
  measures: {
    revenue: { sql: 'amount_krw', type: 'sum' },
    count: { type: 'count' }
  },
  dimensions: {
    orderDate: { sql: 'order_date', type: 'time' },
    country: { sql: 'country', type: 'string' }
  }
});

4.4 Where It Is Used


Chapter 5 · Looker·LookML — "The Enterprise Classic"

5.1 Identity

5.2 Strengths

5.3 Limits

5.4 The 2025 Strategy


Chapter 6 · Other Major Tools

6.1 AtScale

6.2 Lightdash

6.3 Transform (dbt)

6.4 Metabase·Superset

6.5 Thought Spot


Chapter 7 · The Metrics Store Pattern

7.1 Concept

7.2 Composition

7.3 Examples

7.4 Effects


Chapter 8 · Headless BI

8.1 Identity

8.2 Advantages

8.3 Tools

8.4 Limits


Chapter 9 · Reverse ETL — "Sending Data Back Into Operations"

9.1 Why It Is Needed

Reverse ETL: syncing data from the warehouse into operational SaaS

9.2 Major Tools

9.3 The Pattern

  1. Build customer segment models with dbt
  2. Reverse ETL reads from the warehouse and pushes to Salesforce/HubSpot/Intercom
  3. Sales and marketing put the segments to work immediately

9.4 Cases

9.5 Data Activation


Chapter 10 · AI·LLMs and the Semantic Layer

10.1 Why AI Needs a Semantic Layer

10.2 "Text-to-SQL" vs "Text-to-Metric"

10.3 Cases

10.4 Quality Control

10.5 The 2025 Direction


Chapter 11 · Three Real Data Activation Scenarios

11.1 Commerce — Personalized Recommendations

11.2 B2B SaaS — Product-led Sales

11.3 Fintech — Risk Scoring


Chapter 12 · Maturity at Korean Companies

12.1 Current State

12.2 The Adoption Pattern

  1. dbt + documented standard metrics
  2. Expose the metrics in Metabase/Superset
  3. Experiment with dbt Semantic Layer / Cube
  4. Wire operations up through Reverse ETL, starting with one team
  5. Company-wide Metrics Store + AI connection

12.3 Considerations


Chapter 13 · Ten Antipatterns

13.1 Connecting AI Directly Without a Semantic Layer

Metric hallucination and collapse of consistency.

13.2 Depending on LookML Alone

Cut off from other BI and AI channels.

13.3 No Clear Metric Owner

A vacuum of responsibility for changes.

13.4 Changing Without Deprecation

Consumer dashboards break.

13.5 A Sprawl of Reverse ETL Paths

Dozens of sync pipelines out of the warehouse, unmanageable.

13.6 Expecting Real Time From Reverse ETL

Most run in minutes to hours; it is not "real time."

13.7 Running Without Metric Versions

Past reports cannot be reproduced.

13.8 Defining Metrics Only in Superset/Metabase

No independent Semantic Layer → fragmentation with other tools.

13.9 Weak Integrity Checks on Natural Language BI

Trusting AI answers as they come → bad decisions.

13.10 Every Team Computing Metrics With Its Own SQL

Back to square one.


Chapter 14 · Checklist — 12 Items for Semantic Layer·Reverse ETL


Chapter 15 · Next Up — Season 5 Ep 6: "The Fusion of Feature Store and Vector·Graph·Time-Series DBs"

If the Semantic Layer is the language layer of BI, the Feature Store is the language layer of ML. And in 2025 the data database is fusing vector, graph, and time series.

"Data over models, features over data" is the wisdom of ML in 2025.

See you in the next post.


Summary: The Semantic Layer is the 2025 edition of an old promise — "define a metric once, reuse it in every channel." dbt Semantic Layer, Cube, Looker, Lightdash, and AtScale each stake out a position, and Reverse ETL (Hightouch, Census) sends warehouse data back into operational tools to complete Data Activation. In the age of AI and LLMs the Semantic Layer is promoted to a safe data access layer, and Text-to-Metric is recommended over Text-to-SQL. Korean companies are catching up fast on the dbt + Metabase/Superset + Hightouch/Census combination, and cases of building an internal Metrics Store — Toss, Coupang, Kakao — are spreading. "The layer that speaks the meaning of data" is no longer a luxury; it is infrastructure for the AI era.

Comments

No comments yet.

Sign in to leave a comment