WEBVTT

00:00:00.000 --> 00:00:07.760
Welcome to the Leaders Insights Podcast.

00:00:07.760 --> 00:00:13.040
Today's episode, how Airbnb rebuilt metric consistency with a semantic layer.

00:00:13.040 --> 00:00:17.720
Airbnb just published a teardown of a system they call Minerva, and the headline confession

00:00:17.720 --> 00:00:18.940
is brutal.

00:00:18.940 --> 00:00:23.040
Their own analysts were producing conflicting numbers for the same business question.

00:00:23.040 --> 00:00:27.160
Two people ask how many bookings last quarter and get two different answers.

00:00:27.160 --> 00:00:29.640
How does a data first company end up there?

00:00:29.640 --> 00:00:31.700
The same way everyone does.

00:00:31.700 --> 00:00:34.160
Every team writes its own skill query.

00:00:34.160 --> 00:00:37.720
That's just the code that pulls data out of a database, we'll see.

00:00:37.720 --> 00:00:41.320
And every query bakes in a slightly different definition.

00:00:41.320 --> 00:00:45.120
One analyst counts a booking when the guest clicks reserve.

00:00:45.120 --> 00:00:47.560
Another counts it when payment clears.

00:00:47.560 --> 00:00:49.560
Another excludes cancellations.

00:00:49.560 --> 00:00:50.760
Another doesn't.

00:00:50.760 --> 00:00:51.960
Nobody's wrong.

00:00:51.960 --> 00:00:54.440
They're just all using a private dictionary.

00:00:54.440 --> 00:00:57.680
So it's not bad data, it's a definitions problem.

00:00:57.680 --> 00:00:59.960
Exactly, the pipes were fine.

00:00:59.960 --> 00:01:03.360
The vocabulary was chaos, and it compounds.

00:01:03.360 --> 00:01:08.560
Airbnb had thousands of these queries floating around, each one a fork in the road.

00:01:08.560 --> 00:01:13.080
By the time it reaches a board deck, you've got numbers that are off by percentage points,

00:01:13.080 --> 00:01:15.200
and nobody can reconstruct why.

00:01:15.200 --> 00:01:18.520
And the fix is this thing called a semantic layer.

00:01:18.520 --> 00:01:20.320
Translate that before I let you keep going.

00:01:20.320 --> 00:01:25.860
A semantic layer is a single, central place where you define what a metric actually means.

00:01:25.860 --> 00:01:30.140
One canonical definition of booking, active user, revenue.

00:01:30.140 --> 00:01:35.860
And then every dashboard, every report, every query pulls from that one definition, instead

00:01:35.860 --> 00:01:37.780
of reinventing it.

00:01:37.780 --> 00:01:41.780
Think of it as the company dictionary that everyone is forced to use.

00:01:41.780 --> 00:01:44.620
Minerva is Airbnb's version.

00:01:44.620 --> 00:01:46.740
Forced is the interesting word.

00:01:46.740 --> 00:01:50.580
Because the reason those private queries exist is analysts didn't want to wait for

00:01:50.580 --> 00:01:52.300
central approval.

00:01:52.300 --> 00:01:56.660
Isn't a semantic layer just re-centralizing a bottleneck people already escaped once?

00:01:56.660 --> 00:02:00.200
That's the trap, and it's why most of these projects die.

00:02:00.200 --> 00:02:04.860
If your semantic layer means every new metric needs a ticket and a two-week wait, analysts

00:02:04.860 --> 00:02:07.160
route around it inside a month.

00:02:07.160 --> 00:02:11.660
What made Minerva work is they let teams define metrics in a config file.

00:02:11.660 --> 00:02:17.540
A simple structured text file that gets reviewed, versioned, and then computed centrally.

00:02:17.540 --> 00:02:21.580
You own your definition, but once it's in, it's the definition.

00:02:21.580 --> 00:02:23.380
There's no shadow copy.

00:02:23.380 --> 00:02:25.420
Version meaning what, in plain terms?

00:02:25.420 --> 00:02:30.660
Meaning, if you change how booking is calculated in March, there's a record of it, and every

00:02:30.660 --> 00:02:33.260
downstream number moves together.

00:02:33.260 --> 00:02:38.780
The alternative, what most companies live with, is someone silently edits a query.

00:02:38.780 --> 00:02:41.300
Q1 no longer matches Q2.

00:02:41.300 --> 00:02:46.500
And you spend a board meeting arguing about whether growth is real or a definition change.

00:02:46.500 --> 00:02:49.860
Airbnb killed that entire category of argument.

00:02:49.860 --> 00:02:51.020
Let me push.

00:02:51.020 --> 00:02:53.620
Airbnb has enormous engineering resources.

00:02:53.620 --> 00:02:59.140
A CDO, a chief data officer, at a mid-size company hears we built Minerva and reasonably

00:02:59.140 --> 00:03:01.180
thinks that's not my life.

00:03:01.180 --> 00:03:02.180
Fair.

00:03:02.180 --> 00:03:03.840
And you shouldn't build Minerva.

00:03:03.840 --> 00:03:05.100
You don't need to.

00:03:05.100 --> 00:03:06.820
The blueprint is transferable.

00:03:06.820 --> 00:03:08.020
The code isn't.

00:03:08.020 --> 00:03:13.420
There are off-the-shelf semantic layers now, on our DBT has one, cube.

00:03:13.420 --> 00:03:17.620
Lookers had Lookmill for years, which is just their language for defining metrics

00:03:17.620 --> 00:03:18.780
once.

00:03:18.780 --> 00:03:21.060
The expensive part was never the software.

00:03:21.060 --> 00:03:26.440
It's the governance decision, agreeing that there is one definition of a metric, and someone

00:03:26.440 --> 00:03:27.440
owns it.

00:03:27.440 --> 00:03:30.560
So where does a CDO actually start Monday morning?

00:03:30.560 --> 00:03:33.580
Because define all your metrics is a five-year project.

00:03:33.580 --> 00:03:35.080
Don't do all of them.

00:03:35.080 --> 00:03:39.220
Find the 20 metrics that show up in your executive reporting and your board deck.

00:03:39.220 --> 00:03:40.980
That's your real exposure.

00:03:40.980 --> 00:03:42.460
Lock those first.

00:03:42.460 --> 00:03:47.620
In practice, when a company runs this exercise, they discover they have four definitions of

00:03:47.620 --> 00:03:50.220
revenue and nobody knew.

00:03:50.220 --> 00:03:52.580
Just surfacing that is worth the quarter.

00:03:52.580 --> 00:03:57.100
And the trust problem underneath all this, the reason Airbnb bothered?

00:03:57.100 --> 00:03:58.680
That's the whole game.

00:03:58.680 --> 00:04:03.420
Once executives catch data being wrong twice, they stop using it and start going with their

00:04:03.420 --> 00:04:04.420
gut.

00:04:04.420 --> 00:04:09.460
A semantic layer is really a trust recovery project wearing an engineering costume.

00:04:09.460 --> 00:04:11.340
The metrics are the excuse.

00:04:11.340 --> 00:04:14.220
The outcome is that people believe the dashboard again.

00:04:14.220 --> 00:04:16.220
Give me the one thing to do this week.

00:04:16.220 --> 00:04:21.340
Make your single most quoted number, the one in every all hands, and ask three teams

00:04:21.340 --> 00:04:23.260
to pull it independently.

00:04:23.260 --> 00:04:27.500
If they disagree, you've found your Minerva project and you've found it before your board

00:04:27.500 --> 00:04:28.500
does.

00:04:28.500 --> 00:04:29.500
That's it.

00:04:29.500 --> 00:04:31.780
The CDO Decision Tools are live at MBA-training.com.
