Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20404#discussion_r164350415
--- Diff: python/pyspark/sql/session.py ---
@@ -760,6 +764,7 @@ def stop(self):
"""Stop the underlying :class:`SparkContext`.
"""
self._sc.stop()
+ self._jvm.SparkSession.clearDefaultSession()
--- End diff --
BTW, let me make a PR to your branch @jerryshao to deal with the failure
soon. I was looking into this out of my curiosity.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]