Skip to content
Closed
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
Next Next commit
set active
  • Loading branch information
ericl committed Mar 28, 2018
commit 1b192d2542884f378a0ccc5c1936ff72c20403ee
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,8 @@ object SparkSession {

session = new SparkSession(sparkContext, None, None, extensions)
options.foreach { case (k, v) => session.initialSessionOptions.put(k, v) }
defaultSession.set(session)
setDefaultSession(session)
setActiveSession(session)

// Register a successfully instantiated context to the singleton. This should be at the
// end of the class definition so that the singleton is updated only if there is no
Expand Down