surfacecleaningfill
Cleaningscalar · returns varchar

FILL

Fill a null/empty value by inferring from context

Per-row — runs once for each row.

cleaningllmtext

Syntax

FILL({{ value }}, '{{ context }}')
{{ value }} FILLED BY '{{ context }}'

Arguments

nametypedescription
valueVARCHAR
contextVARCHARContext for inference: related data, patterns, defaults

About

Fill in a null or empty value by inferring the most likely answer from surrounding context. Non-null inputs pass through unchanged. Useful when a column has gaps and the right value can be guessed from adjacent fields: missing city filled from a given ZIP, missing country filled from a phone country code, missing product name filled from a SKU plus category. Close relatives in the same family: FILL — infers missing values from context (this one) COMPLETE — expands a partial value's missing components IMPUTE — statistical imputation (distribution-aware) DEFAULT_SMART — picks a sensible constant fallback when context is thin

Nearby rabbit holes

same domain
Climb back to The Looking Glass