Skip to main content
ReferenceApplies to: Unified engine deployments
Conditional expressions choose or normalize values. Their result branches must resolve to compatible types. Explicit casts are useful when mixing numeric, text, or temporal arguments.

Missing labels

Bounding a value

Use values of the intended common type. This example compares prices as DOUBLE.
COALESCE can normalize a missing grouping label, but replacing NULL with a real business key can change join semantics. Keep missing-value presentation separate from matching keys when that distinction matters.
Last modified on November 4, 2026