You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/12/18 16:20:00 UTC

[jira] [Commented] (SPARK-32976) Support column list in INSERT statement

    [ https://issues.apache.org/jira/browse/SPARK-32976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17251847#comment-17251847 ] 

Apache Spark commented on SPARK-32976:
--------------------------------------

User 'yaooqinn' has created a pull request for this issue:
https://github.com/apache/spark/pull/30843

> Support column list in INSERT statement
> ---------------------------------------
>
>                 Key: SPARK-32976
>                 URL: https://issues.apache.org/jira/browse/SPARK-32976
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Xiao Li
>            Assignee: Kent Yao
>            Priority: Major
>             Fix For: 3.1.0
>
>
> INSERT currently does not support named column lists.  
> {{INSERT INTO <table> (col1, col2,…) VALUES( 'val1', 'val2', … )}}
> Note, we assume the column list contains all the column names. Issue an exception if the list is not complete. The column order could be different from the column order defined in the table definition.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org