[
https://issues.apache.org/jira/browse/SPARK-15231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yin Huai resolved SPARK-15231.
------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request 13013
[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
> Fix For: 2.0.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]