GitHub user jose-torres opened a pull request:
https://github.com/apache/spark/pull/20926
[SPARK-23808][SQL] Set default Spark session in test-only spark sessions.
## What changes were proposed in this pull request?
Set default Spark session in the TestSparkSession and TestHiveSparkSession
constructors.
## How was this patch tested?
new unit tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jose-torres/spark test3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20926.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20926
----
commit ffa816e0a1cef6defb4b9f58e99af8f35b1f4802
Author: Jose Torres <torres.joseph.f+github@...>
Date: 2018-03-28T21:24:21Z
set defaults and add test
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]