Apache DataFusion SQL Query Engine
Support NotLike in Ballista (#916)
Daniël Heres1dab962841c4
diff --git a/ballista/rust/core/src/serde/mod.rs b/ballista/rust/core/src/serde/mod.rsindex 1df0675eca..1383ba8968 100644--- a/ballista/rust/core/src/serde/mod.rs+++ b/ballista/rust/core/src/serde/mod.rs@@ -98,6 +98,7 @@ pub(crate) fn from_proto_binary_op(op: &str) -> Result<Operator, BallistaError>"Multiply" => Ok(Operator::Multiply),"Divide" => Ok(Operator::Divide),"Like" => Ok(Operator::Like),+ "NotLike" => Ok(Operator::NotLike),other => Err(proto_error(format!("Unsupported binary operator '{:?}'",otherdiff --git a/benchmarks/run.sh b/benchmarks/run.shindex b1f47a24c2..9cbbf0e16c 100755--- a/benchmarks/run.sh+++ b/benchmarks/run.sh@@ -20,7 +20,7 @@ set -e# This bash script is meant to be run inside the docker-compose environment. Check the README for instructionscd /-for query in 1 3 5 6 7 10 12+for query in 1 3 5 6 7 10 12 13do/tpch benchmark ballista --host ballista-scheduler --port 50050 --query $query --path /data --format tbl --iterations 1 --debugdonediff --git a/benchmarks/src/bin/tpch.rs b/benchmarks/src/bin/tpch.rsindex 29835e2665..50fd40d27a 100644--- a/benchmarks/src/bin/tpch.rs+++ b/benchmarks/src/bin/tpch.rs@@ -1147,7 +1147,10 @@ mod tests {test_round_trip!(q5, 5);test_round_trip!(q6, 6);test_round_trip!(q7, 7);+ test_round_trip!(q8, 8);+ test_round_trip!(q9, 9);test_round_trip!(q10, 10);test_round_trip!(q12, 12);+ test_round_trip!(q13, 13);}}