Discard a pull
pros_discard_pullThrow out one staged pull and every unpromoted row from it, with a reason, so it can be re-read and staged again. A wrong pull means a wrong file: staged rows are never edited, the pull is discarded and handed over again from a fresh read. Rows that already became accounts are NOT removed and are listed back — an account is a real thing now and deleting the row behind it would leave the account with no provenance. The hash is free again afterwards. Effects: pull and its unpromoted rows deleted; promoted rows kept and listed; hash free to stage again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why — the wrong file, a misread column, a re-pull. | |
| source_id | Yes | The pull, e.g. PUL-0001. |