abs
function (Databricks SQL)
Returns the absolute value of the numeric value in expr
.
Returns
A numeric or interval of the same type as expr
.
For integral numeric types the function can return an ARITHMETIC_OVERFLOW error.