All Operators
Scalar operators
Operators Overview
Operators in the Arize Query Language typically operate on one or two values and return a result based on the values. Different operators can apply to different dimensions and constant types.
Types of Operators
Numeric Operators
Arithmetic operators only operate on numeric dimensions.
Operator | Description |
---|---|
| Plus |
| Minus |
| Multiply |
| Divide (integer division is cast to FLOAT) |
| Absolute value |
| Round to nearest int |
| Round down to nearest int |
| Cosine |
| Sine |
| Tangent |
| Hyperbolic tangent |
| Natural log (base |
| Natural log (base |
| Log base |
| Square root |
| Cube root |
| Returns the greatest value of the arguments. Returns null if any argument is null. |
| Returns the least value of the arguments. Returns null if any argument is null. |
Comparison Operators
These general operators can apply to strings and numerics alike.
Operator | Description |
---|---|
| Equal to |
| Not equal |
| Not equal |
| Greater than |
| Greater than or equal to |
| Less than |
| Less than or equal to |
Last updated