Get a session parameter value
Per-row — runs once for each row.
| name | type | description |
|---|---|---|
| key | VARCHAR | — |
| default(optional) | VARCHAR | — |
Returns the provided default when a parameter is not set
SELECT
@ param_get ('missing_region', 'fallback')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)
Get a session parameter value
Per-row — runs once for each row.
| name | type | description |
|---|---|---|
| key | VARCHAR | — |
| default(optional) | VARCHAR | — |
Returns the provided default when a parameter is not set
SELECT
@ param_get ('missing_region', 'fallback')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)