These objects are loaded at the start. Only the query inputs and their required lineage are listed; other tables in a shared seed are not part of this report.
raw_intakeOne row represents one received intake record, not necessarily one distinct person.
| Field / SQL type | Meaning | Rules |
|---|---|---|
import_id · integer | Unique receipt identifier; a retry or repeated person reference is still a separate import record. | Primary key; unique. Required; cannot be NULL. |
member_key · text | Untrusted text business reference for a supposed member; it may repeat and is not members.member_id. | Nullable; NULL means the supposed person reference is unrecorded. |
region_text · text | Untrusted region label with original spaces and case; blank text and SQL NULL are different source states. | Nullable; NULL means no region text value is recorded. |
fee_text · text | Untrusted fee amount text intended to represent USD; blanks or invalid words are not numeric zero. | Nullable; NULL means no fee string is recorded, not a valid zero fee. |
No foreign key links member_key to the integer member directory. Cleaning preserves import grain; it does not deduplicate people or establish collected revenue.
The intake desk needs to see which fee strings satisfy its nonnegative-decimal policy before trying to convert them.
Write your query in script.sql. Use Run to inspect it, then Submit.
Anchor the whole trimmed string; a numeric-looking fragment is not enough.