abs(n)
acos(n)
asin(n)
atan(n)
ceil(n)
cos(n)
degrees(n)
exp(n)
floor(n)
log(m, n)
pi()
power(m, n)
radians(n)
round(n[, m])
sign(n)
sin(n)
sqrt(n)
tan(n)
trunc(n[, m])
Windowing Functions
coalesce
Previous Versions
Returns the natural logarithm (base m) of a number n. The values m and n can be any positive, non-zero numeric value in the range 0 < m, n <= 1e308 and m ≠ 1. The smallest value for m or n that will not produce 0 is log(10, 0.3e-323). This function can only be used in a foreach statement.
1q = foreach q generate log(10, Population) as Population;
2q = filter q by log(10, Population) < 15;