log
function
Applies to: Databricks SQL Databricks Runtime
Returns the logarithm of expr
with base
.
Arguments
base
: An optional expression that evaluates to a numeric.expr
: An expression that evaluates to a numeric.
CLUSTER BY
clause (TABLE)mask
clauseROW FILTER
clause更新しました 2024/11/01
log
function Applies to: Databricks SQL Databricks Runtime
Returns the logarithm of expr
with base
.
base
: An optional expression that evaluates to a numeric.
expr
: An expression that evaluates to a numeric.
A DOUBLE.
If base
or expr
are less than or equal to 0 the result is NULL.
log(expr)
is a synonym for ln(expr)
.