HyukjinKwon commented on a change in pull request #33394:
URL: https://github.com/apache/spark/pull/33394#discussion_r672051219
##########
File path: python/pyspark/sql/readwriter.py
##########
@@ -766,6 +773,13 @@ def saveAsTable(self, name, format=None, mode=None,
partitionBy=None, **options)
.. versionadded:: 1.4.0
+ Notes
+ -----
+ When `mode` is `Append`, if there is an existing table, we will use
the format and
+ options of the existing table. The column order in the schema of the
`DataFrame` doesn't
+ need to be same as that of the existing table. Unlike `insertInto`,
`saveAsTable` will use
Review comment:
ditto for insertInto
--
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]