spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-15231) Document the semantic of saveAsTable and insertInto and don't drop columns silently
Date Wed, 11 May 2016 06:55:12 GMT

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message