From ed9bbb01a5c46db5526ba289bff36c0cf52c371b Mon Sep 17 00:00:00 2001 From: Joseph Bradley Date: Tue, 8 May 2018 13:23:22 -0700 Subject: [PATCH] fix bug with ML additional method tests (#142) #139 introduced a bug which made most ML tests fail with mllib-small.yaml. This fixes those tests. --- .../databricks/spark/sql/perf/mllib/BenchmarkAlgorithm.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/databricks/spark/sql/perf/mllib/BenchmarkAlgorithm.scala b/src/main/scala/com/databricks/spark/sql/perf/mllib/BenchmarkAlgorithm.scala index dd48b9d..95b7478 100644 --- a/src/main/scala/com/databricks/spark/sql/perf/mllib/BenchmarkAlgorithm.scala +++ b/src/main/scala/com/databricks/spark/sql/perf/mllib/BenchmarkAlgorithm.scala @@ -53,7 +53,7 @@ trait BenchmarkAlgorithm extends Logging { */ def testAdditionalMethods( ctx: MLBenchContext, - transformer: Transformer): Map[String, () => _] = null + transformer: Transformer): Map[String, () => _] = Map.empty[String, () => _] } /**