[SPARK-19669][HOTFIX][SQL] sessionState access privileges compiled failed in TestSQLContext
## What changes were proposed in this pull request?
In [SPARK-19669](0733a54a45
) change the sessionState access privileges from private to public, this lead to the compile failed in TestSQLContext
this pr is a hotfix for this.
## How was this patch tested?
N/A
Author: windpiger <songjun@outlook.com>
Closes #17008 from windpiger/hotfixcompile.
This commit is contained in:
parent
0733a54a45
commit
73f065569d
|
@ -35,7 +35,7 @@ private[sql] class TestSparkSession(sc: SparkContext) extends SparkSession(sc) {
|
|||
}
|
||||
|
||||
@transient
|
||||
protected[sql] override lazy val sessionState: SessionState = new SessionState(self) {
|
||||
override lazy val sessionState: SessionState = new SessionState(self) {
|
||||
override lazy val conf: SQLConf = {
|
||||
new SQLConf {
|
||||
clear()
|
||||
|
|
Loading…
Reference in a new issue