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

 ##########
 File path: python/pyspark/sql/session.py
 ##########
 @@ -151,7 +151,7 @@ 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
+            there is, return that one. If no valid global default SparkSession 
exists, the method
 
 Review comment:
   How about just "If not," to avoid repeating the predicate.

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