Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Updated Dec 20, 2024
Send us feedback
ln
Applies to: Databricks SQL Databricks Runtime
Returns the natural logarithm (base e) of expr.
e
expr
ln(expr)
expr: An expression that evaluates to a numeric.
A DOUBLE.
if the argument is out of bounds, the result is NULL.
> SELECT ln(1); 0.0
exp function
expm1 function
e function
log function
log10 function
log1p function