Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
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