Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/22295#discussion_r218309924
--- Diff: python/pyspark/sql/session.py ---
@@ -252,6 +253,22 @@ def newSession(self):
"""
return self.__class__(self._sc, self._jsparkSession.newSession())
+ @since(3.0)
+ def getActiveSession(self):
--- End diff --
cc @ueshin
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]