From 1cd2869e82910f423dcde306c95133bb8348d360 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Wed, 17 Jul 2024 17:10:06 -0600 Subject: [PATCH] remove duplicate benchmarks --- .../apache/spark/sql/benchmark/CometTPCDSMicroBenchmark.scala | 3 --- .../spark/sql/benchmark/CometTPCQueryBenchmarkBase.scala | 3 --- 2 files changed, 6 deletions(-) diff --git a/spark/src/test/scala/org/apache/spark/sql/benchmark/CometTPCDSMicroBenchmark.scala b/spark/src/test/scala/org/apache/spark/sql/benchmark/CometTPCDSMicroBenchmark.scala index 19e8fee37..22d846701 100644 --- a/spark/src/test/scala/org/apache/spark/sql/benchmark/CometTPCDSMicroBenchmark.scala +++ b/spark/src/test/scala/org/apache/spark/sql/benchmark/CometTPCDSMicroBenchmark.scala @@ -102,9 +102,6 @@ object CometTPCDSMicroBenchmark extends CometTPCQueryBenchmarkBase { benchmark.addCase(s"$name$nameSuffix") { _ => cometSpark.sql(queryString).noop() } - benchmark.addCase(s"$name$nameSuffix") { _ => - cometSpark.sql(queryString).noop() - } benchmark.addCase(s"$name$nameSuffix: Comet (Scan)") { _ => withSQLConf(CometConf.COMET_ENABLED.key -> "true") { cometSpark.sql(queryString).noop() diff --git a/spark/src/test/scala/org/apache/spark/sql/benchmark/CometTPCQueryBenchmarkBase.scala b/spark/src/test/scala/org/apache/spark/sql/benchmark/CometTPCQueryBenchmarkBase.scala index d23d76fe1..db4e8ca53 100644 --- a/spark/src/test/scala/org/apache/spark/sql/benchmark/CometTPCQueryBenchmarkBase.scala +++ b/spark/src/test/scala/org/apache/spark/sql/benchmark/CometTPCQueryBenchmarkBase.scala @@ -65,9 +65,6 @@ trait CometTPCQueryBenchmarkBase extends SqlBasedBenchmark with CometTPCQueryBas benchmark.addCase(s"$name$nameSuffix") { _ => cometSpark.sql(queryString).noop() } - benchmark.addCase(s"$name$nameSuffix") { _ => - cometSpark.sql(queryString).noop() - } benchmark.addCase(s"$name$nameSuffix: Comet (Scan)") { _ => withSQLConf(CometConf.COMET_ENABLED.key -> "true") { cometSpark.sql(queryString).noop()