aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala12
1 files changed, 1 insertions, 11 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala b/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala
index 785e3452a8..2f247ca3e8 100644
--- a/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala
+++ b/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala
@@ -31,17 +31,7 @@ private[sql] class TestSparkSession(sc: SparkContext) extends SparkSession(sc) {
}
def this() {
- this {
- val conf = new SparkConf()
- conf.set("spark.sql.testkey", "true")
-
- val spark = SparkSession.builder
- .master("local[2]")
- .appName("test-sql-context")
- .config(conf)
- .getOrCreate()
- spark.sparkContext
- }
+ this(new SparkConf)
}
@transient