abs
Returns the absolute value of x.
Examples:
examples.sql
acos
Returns the arc cosine of x.
Examples:
examples.sql
asin
Returns the arc sine of x.
Examples:
examples.sql
atan
Returns the arc tangent of x.
Examples:
examples.sql
atan2
Returns the arc tangent of y / x.
Examples:
examples.sql
beta_cdf
Compute the Beta cdf with given a, b parameters. P(N < v; a, b). The a, b parameters must be positive real numbers and value v must be a real value. The value v must lie on the interval [0, 1].
Supported Signatures
cbrt
Returns the cube root of x.
Examples:
examples.sql
ceil
This is an alias for ceiling().
Examples:
examples.sql
ceiling
Returns x rounded up to the nearest integer.
Supported Signatures
cos
Returns the cosine of x.
Examples:
examples.sql
cosh
Returns the hyperbolic cosine of the given value.
Examples:
examples.sql
cosine_similarity
Returns the cosine similarity between the sparse vectors x and y.
Supported Signatures
degrees
Converts angle x in radians to degrees.
Examples:
examples.sql
e
Returns the constant Euler’s number.
Supported Signatures
exp
Returns Euler’s number raised to the power of x.
Examples:
examples.sql
floor
Returns x rounded down to the nearest integer.
Supported Signatures
from_base
Returns the value of string interpreted as a base-radix number.
Supported Signatures
infinity
Returns the constant representing positive infinity.
Supported Signatures
inverse_beta_cdf
Compute the inverse of the Beta cdf with given a, b parameters for the cumulative probability (p). P(N < n). The a, b parameters must be positive real values. The probability p must lie on the interval [0, 1].
Supported Signatures
inverse_normal_cdf
Compute the inverse of the Normal cdf with given mean and standard deviation (sd) for the cumulative probability (p). P(N < n). The mean must be a real value and the standard deviation must be a real and positive value. The probability p must lie on the interval (0, 1).
Supported Signatures
is_finite
Determine if x is finite.
Supported Signatures
is_infinite
Determine if x is infinite.
Supported Signatures
is_nan
Determine if x
is not-a-number.
Examples:
examples.sql
ln
Returns the natural logarithm of x.
Examples:
examples.sql
log
Returns the base b logarithm of x.
Examples:
examples.sql
log10
Returns the base 10 logarithm of x.
Examples:
examples.sql
log2
Returns the base 2 logarithm of x.
Examples:
examples.sql
mod
Returns the modulus (remainder) of n divided by m.
Supported Signatures
nan
Returns the constant representing not-a-number.
Supported Signatures
normal_cdf
Compute the Normal cdf with given mean and standard deviation (sd). P(N < v; mean, sd). The mean and value v must be real values and the standard deviation must be a real and positive value.
Supported Signatures
pi
Returns the constant Pi.
Examples:
examples.sql
pow
This is an alias for power().
Supported Signatures
power
Returns x raised to the power of p.
Examples:
examples.sql
radians
Converts angle x in degrees to radians.
Examples:
examples.sql
rand
This is an alias for random().
Examples:
examples.sql
random
Returns a pseudo-random value in the range 0.0 <= x < 1.0.
Supported Signatures
round
Returns x rounded to the nearest integer.
Examples:
examples.sql
sign
Returns the signum function of x, that is.
Supported Signatures
sin
Returns the sine of x.
Examples:
examples.sql
sinh
Returns the hyperbolic sine of x.
Examples:
examples.sql
sqrt
Returns the square root of x.
Examples:
examples.sql
tan
Returns the tangent of x.
Examples:
examples.sql
tanh
Returns the hyperbolic tangent of x.
Examples:
examples.sql
to_base
Returns the base-radix representation of x.
Supported Signatures
truncate
Returns x rounded to integer by dropping digits after decimal point.
Examples:
examples.sql