Shixiong Zhu created SPARK-15231: ------------------------------------ Summary: Document the semantic of saveAsTable and insertInto and don't drop columns silently Key: SPARK-15231 URL: https://issues.apache.org/jira/browse/SPARK-15231 Project: Spark Issue Type: Bug Components: SQL Reporter: Shixiong Zhu Assignee: Shixiong Zhu
We should document the difference between "insertInto" and "saveAsTable": "insertInto" is using the position-based column resolution but "saveAsTable with append" is using name based resolution. In addition, for "saveAsTable with append", when try to add more columns, we just drop the new columns silently. The correct behavior should be throwing an exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org