zeroifnull
function
Applies to: Databricks Runtime 16.0 and later
Returns 0
if expr
is NULL
, or expr
otherwise. This function is a synonym for `coalesce(expr, 0)`.
Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
clause (TABLE)mask
clauseROW FILTER
clauseAtualizado 14/02/2025
zeroifnull
function Applies to: Databricks Runtime 16.0 and later
Returns 0
if expr
is NULL
, or expr
otherwise. This function is a synonym for `coalesce(expr, 0)`.