Skip to content

Commit b3e7e76

Browse files
committed
Fix the serialization issue
1 parent 7850cbe commit b3e7e76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ class SparkSession private(
115115
@transient
116116
private var _wrapped: SQLContext = _
117117

118+
@transient
118119
private val _wrappedLock = new Object
119120

120121
protected[sql] def wrapped: SQLContext = _wrappedLock.synchronized {

0 commit comments

Comments
 (0)