spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-15231) Document the semantic of saveAsTable and insertInto and don't drop columns silently
Date Mon, 09 May 2016 20:45:13 GMT

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


Mime
View raw message