Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
set default instead of active
  • Loading branch information
jose-torres committed Mar 28, 2018
commit f494fb9b7ca94301bbea848c41053191d2ed1207
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ private[sql] trait SQLTestUtils extends SparkFunSuite with SQLTestUtilsBase with
if (loadTestDataBeforeTests) {
loadTestData()
}
SparkSession.setActiveSession(spark)
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ trait SharedSparkSession
protected def initializeSession(): Unit = {
if (_spark == null) {
_spark = createSparkSession
SparkSession.setDefaultSession(_spark)
}
}

Expand Down