You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2023/04/16 00:29:00 UTC

[jira] [Commented] (SPARK-43139) Bug in INSERT INTO documentation

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