Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22295#discussion_r221429200
  
    --- Diff: python/pyspark/sql/session.py ---
    @@ -252,6 +253,22 @@ def newSession(self):
             """
             return self.__class__(self._sc, self._jsparkSession.newSession())
     
    +    @since(2.5)
    +    def getActiveSession(self):
    --- End diff --
    
    Wait .. this should be class method. since the scala usage is 
`SparkSession. getActiveSession`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to