Description
The syntax mentioned to create table for datasource in ddl.scala file is documented with wrong syntax like
/**
* CREATE FOREIGN TEMPORARY TABLE avroTable
* USING org.apache.spark.sql.avro
* OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")
*/
but the correct syntax is
/**
* CREATE TEMPORARY TABLE avroTable
* USING org.apache.spark.sql.avro
* OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")
*/
Wrong syntax is documented in newParquet.scala like
`CREATE TABLE ... USING org.apache.spark.sql.parquet`.
but the correct syntax is
`CREATE TEMPORARY TABLE ... USING org.apache.spark.sql.parquet`.