Aller au contenu

Leçon 13 · Metadata, Catalogs and Lineage

Metadata and the Business Glossary

Learn the types of metadata, how to write clear business definitions, how a glossary differs from a data dictionary, and how to harvest technical metadata.

Metadata is information about data. A column called amt with the value 1200 means little. Is it dollars or cents? Gross or net? Updated when? Who may see it? The answers are metadata, and they turn a number into something you can safely use.

Types of metadata

Three broad types

Business Meaning, rules, owners
Technical Tables, types, schemas
Operational Load times, volumes, errors
1 / 2

Different frameworks group metadata differently. What matters is that you capture the facts people need to find, understand, trust and protect data.

Glossary and dictionary are different

A business glossary defines business terms in business language: active customer, net revenue, churn. It is independent of any system. A data dictionary describes physical data: this table, this column, its type, allowed values and meaning. The two should be linked, so that the column cust.is_active points to the glossary term active customer.

Writing good definitions

A good definition:

  • says what the thing is, not how it is stored;
  • does not repeat the term ("A churned customer is a customer that churned");
  • states inclusions and exclusions;
  • gives an example and a non-example;
  • names the owner and status.
TEXT
Term      : Active customer
Definition: A customer with at least one paid order in the
            previous 90 days.
Includes  : Orders later refunded in part.
Excludes  : Free trials, fully refunded orders, test accounts.
Example   : Last paid order 45 days ago.
Not       : Registered but never paid.
Owner     : Head of Customer Operations
Status    : Approved 2026-10

The 90-day window is a choice, not a law. Another organization may choose 30 or 365 days. A glossary makes the choice explicit and gives one place to change it.

When two teams really need different concepts, create two terms with distinct names, such as billing-active and engagement-active, rather than forcing one definition.

See how definitions change numbers

SQL One question, two definitions, two answers (SQL)

Press Run (or Ctrl + Enter) to see the result here.

All three queries are correct SQL. Only the glossary can say which one answers the business question.

Harvest technical metadata

Technical metadata should come from the systems themselves, not be typed by hand. Most databases expose their schema. SQLite lets you read it with pragma_table_info.

SQL Build a data dictionary skeleton from the schema (SQL)

Press Run (or Ctrl + Enter) to see the result here.

Other databases offer views such as information_schema.columns. The pattern is the same: generate the structure automatically and let people add meaning. The report of undocumented columns becomes a to-do list.

Keep metadata alive

Metadata rots when it is separate from work. To keep it current:

  • update definitions in the same change that modifies a system;
  • assign each term and dataset an owner;
  • set review dates for important entries;
  • let users report wrong or confusing entries easily;
  • track coverage, such as the share of critical columns with a description.

If you use AI to draft descriptions, treat them as drafts. A model can guess that cust_flg_2 means something plausible and be completely wrong. An informed person must confirm each definition.

A glossary with 3,000 unreviewed terms is less useful than 40 accurate, approved ones. Start with the terms people argue about.

Which metadata to capture first

You cannot document everything at once. For each critical dataset, start with a minimum set: a plain description, owner and steward, classification, refresh frequency, the meaning of critical columns and known limitations. Known limitations are especially valuable. A note such as "online orders before 2024 have no region" can prevent a wrong analysis, and it costs one sentence.

A worked example: improving a definition

A first draft says: "Delivery time: how long delivery takes." A reviewer asks when the clock starts, when it stops, whether weekends count and what happens with failed attempts. The improved version reads:

Delivery time is the number of calendar days from the date the warehouse hands a parcel to the carrier to the date of the first successful delivery. Parcels that are lost or returned are excluded and counted separately.

It is longer, but two analysts can now calculate the same number. It also reveals a measurement need: the system must record the handover date, which it might not do today. Writing definitions often uncovers missing data like this.

Connect metadata to daily work

Metadata is most useful where people make decisions. Show the definition next to a metric on a dashboard. Put column descriptions in the database or transformation code, where engineers see them. Link to the glossary from onboarding material and report requests. When someone asks what a field means, answer in the shared place and send the link, so the next person does not need to ask.

Watch for conflicts between sources. If the dictionary says a column is in dollars and the report note says cents, one of them is wrong, and users may not notice which. Choose one authoritative place for each fact, generate other views from it where you can and report differences to the owner.

Try it yourself

Choose three terms your team uses often. Ask two colleagues to define each one separately, then compare their answers. Where they differ, draft a definition with inclusions, exclusions and an example, and ask a likely owner to approve it. Finally, find one column that implements each term and record the link between them. Three approved, linked terms are a solid first glossary.

Check your understanding

Quick check · 3 questions

of 3 answered You scored / 3 · perfect!

  1. 1. Which is an example of technical metadata?

    Types, tables and schemas are technical metadata.
  2. 2. What distinguishes a business glossary from a data dictionary?

    They serve different views and should link to each other.
  3. 3. Two teams need different meanings of active. What is a good solution?

    Distinct names avoid hidden conflicts while respecting real differences.

Summary

  • Metadata helps people find, understand, trust and protect data.
  • Glossaries define business terms; dictionaries describe columns and tables.
  • Good definitions state inclusions, exclusions, examples and an owner.
  • Harvest technical metadata automatically and add meaning by hand.
  • Review AI-drafted definitions before relying on them.

Next: Data Catalogs

Votre progression est enregistrée dans ce navigateur. Aucun compte nécessaire.