Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Updated Dec 03, 2024
Send us feedback
log1p
Applies to: Databricks SQL Databricks Runtime
Returns log(1 + expr).
log(1 + expr)
log1p(expr)
expr: An expression that evaluates to a numeric.
expr
A DOUBLE.
If expr is less than or equal to -1 the result is NULL.
> SELECT log1p(0); 0.0
log function
ln function
log10 function
expm1 function
e function
exp function
pow function