Github user jose-torres commented on a diff in the pull request: https://github.com/apache/spark/pull/20926#discussion_r178113214 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/test/TestHive.scala --- @@ -175,8 +175,6 @@ private[hive] class TestHiveSparkSession( loadTestTables) } - SparkSession.setDefaultSession(this) --- End diff -- Many Hive tests both call SparkSession.getOrCreate() and create a TestHiveSparkSession. To be clear, this isn't an optimization - the tests do not pass unless I remove this line.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org