Details
-
Documentation
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
3.3.2
-
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"