Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-43139

Bug in INSERT INTO documentation

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.3.2
    • 3.4.1, 3.5.0
    • Documentation
    • None

    Description

      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.

      INSERT INTO students
           FROM applicants SELECT name, address, id applicants WHERE qualified = true; 

      Specifically, "id applicants" should possibly be changed to "student_id"

      Attachments

        Activity

          People

            yumwang Yuming Wang
            bjorn.olsen1@gmail.com Bjorn Olsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: