You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2016/09/27 18:34:21 UTC

[jira] [Updated] (SPARK-17693) Fixed Insert Failure To Data Source Tables when the Schema has the Comment Field

     [ https://issues.apache.org/jira/browse/SPARK-17693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated SPARK-17693:
----------------------------
    Summary: Fixed Insert Failure To Data Source Tables when the Schema has the Comment Field  (was: Fixed Insert Failure when Table Schema has the Comment Field)

> Fixed Insert Failure To Data Source Tables when the Schema has the Comment Field
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-17693
>                 URL: https://issues.apache.org/jira/browse/SPARK-17693
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Xiao Li
>
> {noformat}
> CREATE TABLE tab1(col1 int COMMENT 'a', col2 int) USING parquet
> INSERT INTO TABLE tab1 SELECT 1, 2
> {noformat}
> The insert attempt will fail if the target table has a column with comments. The error is strange to the external users:
> {noformat}
> assertion failed: No plan for InsertIntoTable Relation[col1#15,col2#16] parquet, false, false
> +- Project [1 AS col1#19, 2 AS col2#20]
>    +- OneRowRelation$
> {noformat}



--
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