E8087
Error code: the run stops before anything is written. Raised by: indicators.
Cause
step "<step>": two records of table <table> have the same key (<columns>)
Fix
Each record of a recode is identified by its key variables. Check that files names the unmodified recode file of the declared survey; no value of the key is shown (NFR-13).
What the engine prints
The message names the code, then where the problem is when it has a place in a file, then the fix. Words in angle brackets are filled in with the names and values of your file.
error[E8087]: step "<step>": two records of table <table> have the same key (<columns>)
--> <file>:<line>:<column>
= fix: Each record of a recode is identified by its key variables. Check that files names the unmodified recode file of the declared survey; no value of the key is shown (NFR-13).
With --json, the same diagnostic is one JSON object with the fields code, severity, file, line, column, rule, fix and args.
Values filled in
step, table, columns.
Generated from schemas/messages/en.toml. Do not edit. This page (code E8087) is built from the engine sources at every documentation build. To change it, edit the E8087 rule and fix in the English message catalogue (crates/cohortix-schema/messages/en.toml, published as schemas/messages/en.toml) and open a pull request.