HyukjinKwon commented on a change in pull request #34906:
URL: https://github.com/apache/spark/pull/34906#discussion_r769443511



##########
File path: python/pyspark/sql/tests/test_session.py
##########
@@ -39,7 +39,9 @@ class SparkSessionTests1(ReusedSQLTestCase):
     def test_sparksession_with_stopped_sparkcontext(self):
         self.sc.stop()
         sc = SparkContext("local[4]", self.sc.appName)
-        spark = SparkSession.builder.getOrCreate()
+        spark = SparkSession.getActiveSession()

Review comment:
       I think for test case, it's fine to don't fix.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to