FAILURE MAP
← Case archive

FA-45394 / Data systems / Member archive

MERGE preflight detects duplicate whole source rows instead of duplicate keys · case 04

MERGE preflight detects duplicate whole source rows instead of duplicate keys.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

Case contract

Merge source [key,value] into a target unique-key table. Any repeated source key is CARDINALITY and leaves target unchanged; otherwise matched keys replace payloads and unmatched keys insert. Return status and sorted final rows. Source null keys are ordinary distinct keys in this stipulated integer-key model only (inputs here are integer keys).

Why this case matters

A bounded deterministic data engine model makes representation and changelog faults reproducible.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
new duplicate keys["OK", [[10, 5]]]["CARDINALITY", []]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗