The following operators are used in Tajo to perform desired operations.
S.No. | Operator & Description |
---|---|
1 | Arithmetic operators
Presto supports arithmetic operators such as +, −, *, /, %. |
2 | Relational operators
<, >, <=, >=, =, <> |
3 | Logical operators
AND, OR, NOT |
4 | String operators
The ‘||’ operator performs string concatenation. |
5 | Range operators
Range operator is used to test the value in a specific range. Tajo supports BETWEEN, IS NULL, IS NOT NULL operators. |