Subscribe free
Alloconomy 21 Nov 2026 3 min read

Two storefronts both sell product 42

The main store calls a paperback 42.

The interview prompt

The main store calls a paperback 42. A second store assigns 42 to pencils and 73 to a six-pack of that same paperback. The buyer wants copies by edition. Show the identity map and the units conversion.

Two matches that need different evidence

A candidate sometimes creates a global product key and immediately sums “quantity.” Have them put two sales through that design. One single paperback plus one six-pack represents two sellable packages and seven copies of the edition. The pencils contribute zero copies of this edition. Resolving catalog identity and converting units are separate operations.

Keep a source-qualified listing identity such as (store, local SKU). Its mapping identifies a sellable product, the edition where applicable, and units per package. Date the mapping if a store can reuse a SKU or change the package size. For a sales measure, keep the observed package count and optionally derive edition copies using the effective conversion. A mystery bundle spanning three editions needs a component relationship and quantities, or it remains unresolved for that metric.

Now price the ambiguity. A conservative match policy sends more listings for review. An aggressive policy silently merges paperbacks and hardcovers. If margin by format drives purchasing, a false merge is expensive even when aggregate revenue ties. Sample both unmatched and automatically matched listings. Keep the evidence that justified a match so a corrected mapping can be replayed.

The model behind the answer

The school orders field guides from Maya’s main store. Her second storefront also has a product numbered 42. There it means a pack of pencils. A natural key identifies something within the system that issued it. Preserve the source with the identifier so the two 42s stay distinguishable.

A warehouse-generated surrogate key gives each dimension row an unambiguous join target. It cannot decide whether two listings refer to the same edition. That decision needs evidence, such as a verified edition identifier, format, and pack size, and a maintained mapping from the two source catalogs. Keep a durable product identity if several historical versions must refer to the same product.

Ask what happens to tonight’s shipment if a new listing has no catalog match yet. An identifiable placeholder can keep its four units in the total and make the unresolved product visible. Track the unmatched population and repair its mapping when the source arrives. Kimball on late-arriving dimensions

Review an agent’s proposed catalog matches

Let the agent propose a mapping from each store’s listings to an edition and unit conversion. Supply a paperback listed as 42 in one store, pencils listed as 42 in the other, and a six-pack listed as 73. Have it flag uncertain matches for a catalog owner.

Reviewer decision. Hold out a mixed-edition bundle with no component list. The two known paperback packages yield seven copies of the edition. The bundle must remain unresolved until someone supplies its contents. Measure both wrong matches and unresolved listings before expanding the mapping.

Further reading. The Data Warehouse Toolkit, 3rd ed., on explicit units and conversion factors.

One more question

The source reuses 42 in January for a different edition. Can source plus SKU alone resolve a December sale received late?

Check your reasoning

Only if the mapping retains effective history or the sale carries an immutable listing version. Use the December event time and one matching version. If both products are plausible, retain the unresolved sale and seek source evidence.

Previous · Decide what a summary is allowed to forget · Next · Five dates and one calendar · Complete series map