Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns the natural logarithm (base e
) of expr
.
Syntax
ln(expr)
Arguments
expr
: An expression that evaluates to a numeric.
Returns
A DOUBLE.
if the argument is out of bounds, the result is NULL.
Examples
> SELECT ln(1);
0.0