Github user yhuai commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13013#discussion_r62740848
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/DataFrameWriter.scala ---
    @@ -444,8 +447,10 @@ final class DataFrameWriter private[sql](df: 
DataFrame) {
        * save mode, specified by the `mode` function (default to throwing an 
exception).
        * When `mode` is `Overwrite`, the schema of the [[DataFrame]] does not 
need to be
        * the same as that of the existing table.
    -   * When `mode` is `Append`, the schema of the [[DataFrame]] need to be
    -   * the same as that of the existing table, and format or options will be 
ignored.
    +   *
    +   * When `mode` is `Append`, the format or options will be ignored. The 
column order in the schema
    --- End diff --
    
    How about we explicitly say that if there is an existing table, we will use 
the format and options of the existing table.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to