feat: enable not eq operator

pull/24376/head
Edd Robinson 2021-06-08 15:57:07 +01:00
parent 5336acc36f
commit b88f277477
1 changed files with 2 additions and 1 deletions

View File

@ -1206,6 +1206,7 @@ impl ExpressionVisitor for SupportVisitor {
Expr::BinaryExpr { op, .. } => {
match op {
Operator::Eq
| Operator::NotEq
| Operator::Lt
| Operator::LtEq
| Operator::Gt
@ -1217,7 +1218,7 @@ impl ExpressionVisitor for SupportVisitor {
| Operator::And
| Operator::Or => Ok(Recursion::Continue(self)),
// Unsupported (need to think about ramifications)
Operator::NotEq | Operator::Modulus | Operator::Like | Operator::NotLike => {
Operator::Modulus | Operator::Like | Operator::NotLike => {
Err(DataFusionError::NotImplemented(format!(
"Unsupported operator in gRPC: {:?} in expression {:?}",
op, expr