diff options
author | windpiger <songjun@outlook.com> | 2017-02-20 19:20:23 -0800 |
---|---|---|
committer | Xiao Li <gatorsmile@gmail.com> | 2017-02-20 19:20:23 -0800 |
commit | 73f065569d352081b7d64c254af70ce996860c53 (patch) | |
tree | 39c4041fd8f8412a7ceadb296a8dcef0f6172548 /sql/core/src | |
parent | 0733a54a4517b82291efed9ac7f7407d9044593c (diff) | |
download | spark-73f065569d352081b7d64c254af70ce996860c53.tar.gz spark-73f065569d352081b7d64c254af70ce996860c53.tar.bz2 spark-73f065569d352081b7d64c254af70ce996860c53.zip |
[SPARK-19669][HOTFIX][SQL] sessionState access privileges compiled failed in TestSQLContext
## What changes were proposed in this pull request?
In [SPARK-19669](https://github.com/apache/spark/commit/0733a54a4517b82291efed9ac7f7407d9044593c) 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.
Diffstat (limited to 'sql/core/src')
-rw-r--r-- | sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala b/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala index 2f247ca3e8..8ab6db175d 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/test/TestSQLContext.scala @@ -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() |