[ https://issues.apache.org/jira/browse/SPARK-17693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li resolved SPARK-17693. ----------------------------- Resolution: Fixed Fix Version/s: 2.1.0 Issue resolved by pull request 15615 [https://github.com/apache/spark/pull/15615] > 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 > Fix For: 2.1.0 > > > {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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org