dongjoon-hyun commented on a change in pull request #26299: 
[MINOR][PYSPARK][DOCS] Fix typo in example documentation
URL: https://github.com/apache/spark/pull/26299#discussion_r340875297
 
 

 ##########
 File path: python/pyspark/sql/session.py
 ##########
 @@ -151,9 +151,9 @@ def getOrCreate(self):
             new one based on the options set in this builder.
 
             This method first checks whether there is a valid global default 
SparkSession, and if
-            yes, return that one. If no valid global default SparkSession 
exists, the method
-            creates a new SparkSession and assigns the newly created 
SparkSession as the global
-            default.
+            there is, return that one. Otherwise if no valid global default 
SparkSession exists,
 
 Review comment:
   `Otherwise if`? Shall we keep the original sentences for this part?

----------------------------------------------------------------
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