aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/compatibility
diff options
context:
space:
mode:
authorHerman van Hovell <hvanhovell@databricks.com>2017-03-28 23:14:31 +0800
committerWenchen Fan <wenchen@databricks.com>2017-03-28 23:14:31 +0800
commitf82461fc1197f6055d9cf972d82260b178e10a7c (patch)
tree36bb1f58ce3080b1b2d86cd8c2b99148d07cbf0c /sql/hive/compatibility
parent4fcc214d9eb5e98b2eed3e28cc23b0c511cd9007 (diff)
downloadspark-f82461fc1197f6055d9cf972d82260b178e10a7c.tar.gz
spark-f82461fc1197f6055d9cf972d82260b178e10a7c.tar.bz2
spark-f82461fc1197f6055d9cf972d82260b178e10a7c.zip
[SPARK-20126][SQL] Remove HiveSessionState
## What changes were proposed in this pull request? Commit https://github.com/apache/spark/commit/ea361165e1ddce4d8aa0242ae3e878d7b39f1de2 moved most of the logic from the SessionState classes into an accompanying builder. This makes the existence of the `HiveSessionState` redundant. This PR removes the `HiveSessionState`. ## How was this patch tested? Existing tests. Author: Herman van Hovell <hvanhovell@databricks.com> Closes #17457 from hvanhovell/SPARK-20126.
Diffstat (limited to 'sql/hive/compatibility')
-rw-r--r--sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala b/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
index f78660f7c1..0a53aaca40 100644
--- a/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
+++ b/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala
@@ -39,7 +39,7 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter {
private val originalLocale = Locale.getDefault
private val originalColumnBatchSize = TestHive.conf.columnBatchSize
private val originalInMemoryPartitionPruning = TestHive.conf.inMemoryPartitionPruning
- private val originalConvertMetastoreOrc = TestHive.sessionState.convertMetastoreOrc
+ private val originalConvertMetastoreOrc = TestHive.conf.getConf(HiveUtils.CONVERT_METASTORE_ORC)
private val originalCrossJoinEnabled = TestHive.conf.crossJoinEnabled
private val originalSessionLocalTimeZone = TestHive.conf.sessionLocalTimeZone