log¶
Description¶
Returns logarithm of a numeric expression (second argument) with the provided base (first argument).
The base should be greater than 0 and not exactly 1.0 and the value should be greater than 0.
Return type¶
float64
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
log(base, value)
| Argument | Type | Optional | Repeatable | Restrictions | 
|---|---|---|---|---|
| base | numeric | no | no | none | 
| value | numeric | no | no | none | 
Examples¶
make_col log_val:log(10, @.temperature)
Returns the logarithm of column temperature at base 10