Return the canonical/official form of a value (auto-detects entity type)
Per-row — runs once for each row.
CANONICAL({{ value }}){{ value }} CANONICAL| name | type | description |
|---|---|---|
| value | VARCHAR | — |
Company name canonicalized
SELECT
canonical ('MICROSOFT CORPORATION')City abbreviation expanded
SELECT
canonical ('NYC')Remove or mask personally identifiable information from text
Type-cast messy real-world values that trip up standard CAST
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
Return the canonical/official form of a value (auto-detects entity type)
Per-row — runs once for each row.
CANONICAL({{ value }}){{ value }} CANONICAL| name | type | description |
|---|---|---|
| value | VARCHAR | — |
Company name canonicalized
SELECT
canonical ('MICROSOFT CORPORATION')City abbreviation expanded
SELECT
canonical ('NYC')Remove or mask personally identifiable information from text
Type-cast messy real-world values that trip up standard CAST
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