BryanCutler commented on issue #27610: [SPARK-30856][SQL][PySpark] Fix 
SQLContext.getOrCreate() when SparkContext is restarted
URL: https://github.com/apache/spark/pull/27610#issuecomment-587682282
 
 
   > Do we also need to check if SparkContext is stopped when calling 
SQLContext.getOrCreate?
   
   It asserts that it's stopped in the Scala `SparkSession` constructor, 
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala#L103.
 So don't know if it's necessary to check again.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to