Github user jerryshao commented on a diff in the pull request: https://github.com/apache/spark/pull/20404#discussion_r164350646 --- 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 -- I'm also working on the failure, already figured out why.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org