File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
sql/core/src/test/scala/org/apache/spark/sql/execution/benchmark Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ object DataSourceReadBenchmark extends SqlBasedBenchmark {
5252 .set(" spark.master" , " local[1]" )
5353 .setIfMissing(" spark.driver.memory" , " 3g" )
5454 .setIfMissing(" spark.executor.memory" , " 3g" )
55- .setIfMissing(UI_ENABLED , false )
5655
5756 val sparkSession = SparkSession .builder.config(conf).getOrCreate()
5857
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ object FilterPushdownBenchmark extends SqlBasedBenchmark {
4949 .set(" spark.master" , " local[1]" )
5050 .setIfMissing(" spark.driver.memory" , " 3g" )
5151 .setIfMissing(" spark.executor.memory" , " 3g" )
52- .setIfMissing(UI_ENABLED , false )
5352 .setIfMissing(" orc.compression" , " snappy" )
5453 .setIfMissing(" spark.sql.parquet.compression.codec" , " snappy" )
5554
Original file line number Diff line number Diff line change 1818package org .apache .spark .sql .execution .benchmark
1919
2020import org .apache .spark .benchmark .{Benchmark , BenchmarkBase }
21+ import org .apache .spark .internal .config .UI ._
2122import org .apache .spark .sql .{Dataset , SparkSession }
2223import org .apache .spark .sql .SaveMode .Overwrite
2324import org .apache .spark .sql .catalyst .plans .SQLHelper
@@ -37,6 +38,7 @@ trait SqlBasedBenchmark extends BenchmarkBase with SQLHelper {
3738 .appName(this .getClass.getCanonicalName)
3839 .config(SQLConf .SHUFFLE_PARTITIONS .key, 1 )
3940 .config(SQLConf .AUTO_BROADCASTJOIN_THRESHOLD .key, 1 )
41+ .config(UI_ENABLED .key, false )
4042 .getOrCreate()
4143 }
4244
You can’t perform that action at this time.
0 commit comments