Relational Operators
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Relational operators compare one expression to another.
The following table lists the supported relational operators.
| Entry SQL Level Operator | Support in HiveQL |
|---|---|
| <> | Supported |
| < | Supported |
| <= | Supported |
| = | Supported |
| <=> | Supported (Hive versions 0.9 and higher) |
| > | Supported |
| >= | Supported |
| IS [NOT] NULL | Supported |
| [NOT] BETWEEN x AND y | Supported |
| [NOT] IN | Supported |
| EXISTS | Supported |
| [NOT] LIKE | Supported, except that no collate clause is allowed |
| RLIKE | Supported |
| REGEXP | Supported |