Fill in missing parts of a partial value using context
Per-row — runs once for each row.
COMPLETE({{ value }}, '{{ context }}'){{ value }} COMPLETED AS '{{ context }}'| name | type | description |
|---|---|---|
| value | VARCHAR | — |
| context | VARCHAR | Type and context: 'address', 'US phone', 'full name given email...' |
Partial phone completed
SELECT
complete ('555-1234', 'US phone number')Remove or mask personally identifiable information from text
Type-cast messy real-world values that trip up standard CAST
Return the canonical/official form of a value (auto-detects entity type)
Extracts 4-digit year from messy text, returns -1 if undetermined
LLM-backed year extraction (escape hatch for CLEAN_YEAR)
Pick the best non-null value from a group (quality-aware COALESCE)
Fill in missing parts of a partial value using context
Per-row — runs once for each row.
COMPLETE({{ value }}, '{{ context }}'){{ value }} COMPLETED AS '{{ context }}'| name | type | description |
|---|---|---|
| value | VARCHAR | — |
| context | VARCHAR | Type and context: 'address', 'US phone', 'full name given email...' |
Partial phone completed
SELECT
complete ('555-1234', 'US phone number')Remove or mask personally identifiable information from text
Type-cast messy real-world values that trip up standard CAST
Return the canonical/official form of a value (auto-detects entity type)
Extracts 4-digit year from messy text, returns -1 if undetermined
LLM-backed year extraction (escape hatch for CLEAN_YEAR)
Pick the best non-null value from a group (quality-aware COALESCE)