Relational Operators
- Last Updated: June 22, 2015
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Spark SQL 6.0
- Documentation
Relational operators compare one expression to another. The following table lists the supported relational operators.
| Entry SQL Level Operator | Support in Spark SQL |
|---|---|
| <> | Supported |
| < | Supported |
| <= | Supported |
| = | Supported |
| <=> | Supported |
| > | 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 |