Parse currency to structured JSON (format normalization only)
Per-row — runs once for each row.
NORMALIZE_CURRENCY({{ value }})NORMALIZE_CURRENCY({{ value }}, '{{ target_currency }}')NORMALIZE_CURRENCY({{ value }}, '{{ target_currency }}', '{{ reference_date }}')| name | type | description |
|---|---|---|
| value | VARCHAR | — |
| target_currency(optional) | VARCHAR | — |
| reference_date(optional) | VARCHAR | — |
US dollar symbol detected
SELECT
normalize_currency ('$100.50')European number format + currency code
SELECT
normalize_currency ('EUR 1.234,56')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)
Parse currency to structured JSON (format normalization only)
Per-row — runs once for each row.
NORMALIZE_CURRENCY({{ value }})NORMALIZE_CURRENCY({{ value }}, '{{ target_currency }}')NORMALIZE_CURRENCY({{ value }}, '{{ target_currency }}', '{{ reference_date }}')| name | type | description |
|---|---|---|
| value | VARCHAR | — |
| target_currency(optional) | VARCHAR | — |
| reference_date(optional) | VARCHAR | — |
US dollar symbol detected
SELECT
normalize_currency ('$100.50')European number format + currency code
SELECT
normalize_currency ('EUR 1.234,56')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)