[ https://issues.apache.org/jira/browse/SPARK-15231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277003#comment-15277003 ]
Apache Spark commented on SPARK-15231: -------------------------------------- User 'zsxwing' has created a pull request for this issue: https://github.com/apache/spark/pull/13013 > 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