diff options
Diffstat (limited to 'sql/core/src/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala')
-rw-r--r-- | sql/core/src/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala b/sql/core/src/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala index 5691105235..fcfac359f3 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala @@ -88,7 +88,7 @@ private[sql] trait SQLTestUtils * The Hadoop configuration used by the active [[SQLContext]]. */ protected def hadoopConfiguration: Configuration = { - sparkContext.hadoopConfiguration + sqlContext.sessionState.hadoopConf } /** |