Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Atualizado 21/11/2024
Send us feedback
log10
Applies to: Databricks SQL Databricks Runtime
Returns the logarithm of expr with base 10.
expr
10
log10(expr)
expr: An expression that evaluates to a numeric.
A DOUBLE.
If expr is less than or equal to 0 the result is NULL.
> SELECT log10(10); 1.0
log function
log2 function
ln function
log1p function
pow function