इसके माध्यम से साझा किया गया


log1p function

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Returns log(1 + expr).

Syntax

log1p(expr)

Arguments

  • expr: An expression that evaluates to a numeric.

Returns

A DOUBLE.

If expr is less than or equal to -1 the result is NULL.

Examples

> SELECT log1p(0);
 0.0