Skip to content

Commit

Permalink
for master
Browse files Browse the repository at this point in the history
(cherry picked from commit 9389e0b0347cfba93f371927f1155032209e56d5)
  • Loading branch information
baibaichen committed Jun 18, 2024
1 parent 9060797 commit b9a76c2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@

package org.apache.spark.sql.execution.benchmark

import scala.io.Source

import org.apache.spark.SparkConf
import org.apache.spark.benchmark.Benchmark
import org.apache.spark.internal.Logging
import org.apache.spark.sql.SparkSession
import org.apache.spark.sql.execution.SparkPlan
import org.apache.spark.util.Utils

import scala.io.Source

object TaoboParseBenchmark extends SqlBasedBenchmark with Logging {

/**
Expand All @@ -47,12 +47,12 @@ object TaoboParseBenchmark extends SqlBasedBenchmark with Logging {
.set("spark.serializer", "org.apache.spark.serializer.KryoSerializer")
.set("spark.kryo.registrationRequired", "true")

SparkSession.builder.config(conf).getOrCreate()
SparkSession.builder().config(conf).getOrCreate()
}

override def runBenchmarkSuite(mainArgs: Array[String]): Unit = {
val tableNames = Seq(
//"kylin_view_dws_dim_union_chat_follow_flow",
// "kylin_view_dws_dim_union_chat_follow_flow",
"kylin_view_ads_fact_day_org_kpi_wide"
)

Expand Down

0 comments on commit b9a76c2

Please sign in to comment.