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

 ##########
 File path: python/pyspark/sql/readwriter.py
 ##########
 @@ -733,7 +733,7 @@ def save(self, path=None, format=None, mode=None, 
partitionBy=None, **options):
         :param partitionBy: names of partitioning columns
         :param options: all other string options
 
-        >>> df.write.mode('append').parquet(os.path.join(tempfile.mkdtemp(), 
'data'))
+        >>> df.select("name", 
"favorite_color").write.save("namesAndFavColors.parquet")
 
 Review comment:
   This is a code change which should not be mixed into here.
   Please revert this change.

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