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

Yuming Wang commented on SPARK-43139:
-------------------------------------

https://github.com/apache/spark/pull/40807

> Bug in INSERT INTO documentation
> --------------------------------
>
>                 Key: SPARK-43139
>                 URL: https://issues.apache.org/jira/browse/SPARK-43139
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation
>    Affects Versions: 3.3.2
>            Reporter: Bjorn Olsen
>            Priority: Trivial
>
> I think there is a bug in this page 
> [https://spark.apache.org/docs/3.1.2/sql-ref-syntax-dml-insert-into.html]
> The following SQL statement does not look valid based on the contents of the 
> "applicants" table.
> {code:java}
> INSERT INTO students
>      FROM applicants SELECT name, address, id applicants WHERE qualified = 
> true; {code}
> Specifically, "id applicants" should possibly be changed to "student_id"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to