Skip to content
Merged
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
make spark session vars in TestHiveSingleton lazy
  • Loading branch information
Sumedh Wale committed Jul 26, 2019
commit 60326dfbef1d5af8cbe7811b3a10db7d631703db
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import org.apache.spark.SparkFunSuite


trait TestHiveSingleton extends SparkFunSuite with BeforeAndAfterAll {
protected val spark: SparkSession = TestHive.sparkSession
protected val hiveContext: TestHiveContext = TestHive
protected lazy val spark: SparkSession = TestHive.sparkSession
protected lazy val hiveContext: TestHiveContext = TestHive

protected override def afterAll(): Unit = {
try {
Expand Down