nullifzero
function
Applies to: Databricks Runtime 16.0 and later
Returns NULL
if expr
is 0
, or expr
otherwise. This function is a synonym for `if(expr = 0, null, expr)`.
CLUSTER BY
clause (TABLE)mask
clauseROW FILTER
clauseUpdated Dec 17, 2024
nullifzero
function Applies to: Databricks Runtime 16.0 and later
Returns NULL
if expr
is 0
, or expr
otherwise. This function is a synonym for `if(expr = 0, null, expr)`.