FAILURE MAP
← Case archive

FA-45397 / Data systems / Member archive

MERGE preflight rejects duplicates only for keys already in target · case 02

MERGE preflight rejects duplicates only for keys already in target.

Member previewVariant 2 · 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, 3]]]["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 ↗