Skip to main content

Module expr_fn

Module expr_fn 

Source

Functionsยง

abs
Returns abs(expr)
bin
Returns the string representation of the long value represented in binary.
ceil
Returns the ceiling of expr.
csc
Returns the cosecant of expr.
expm1
Returns exp(expr) - 1 as a Float64.
factorial
Returns the factorial of expr. expr is [0..20]. Otherwise, null.
floor
Returns floor of expr.
hex
Computes hex value of the given column.
modulus
Returns the remainder of division of the first argument by the second argument.
negative
Returns the negation of expr (unary minus).
pmod
Returns the positive remainder of division of the first argument by the second argument.
rint
Returns the double value that is closest in value to the argument and is equal to a mathematical integer.
round
Rounds the value of expr to scale decimal places using HALF_UP rounding mode.
sec
Returns the secant of expr.
unhex
Converts hexadecimal string to binary.
width_bucket
Returns the bucket number into which the value of this expression would fall after being evaluated.