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



##########
File path: python/pyspark/sql/readwriter.py
##########
@@ -742,10 +743,16 @@ def save(self, path=None, format=None, mode=None, 
partitionBy=None, **options):
     def insertInto(self, tableName, overwrite=None):
         """Inserts the content of the :class:`DataFrame` to the specified 
table.
 
+        Optionally overwriting any existing data.

Review comment:
       Can you convert this to `Parameters`? You can just write down the 
description like, this is equivalent with `DataFrameWrtier.mode("overwrite")`




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