[
https://issues.apache.org/jira/browse/SPARK-4574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Armbrust resolved SPARK-4574.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
Issue resolved by pull request 3431
[https://github.com/apache/spark/pull/3431]
> Adding support for defining schema in foreign DDL commands.
> -----------------------------------------------------------
>
> Key: SPARK-4574
> URL: https://issues.apache.org/jira/browse/SPARK-4574
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 1.1.0
> Reporter: wangfei
> Priority: Blocker
> Fix For: 1.3.0
>
>
> Adding support for defining schema in foreign DDL commands. Now foreign DDL
> support commands like:
> CREATE TEMPORARY TABLE avroTable
> USING org.apache.spark.sql.avro
> OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")
> Let user can define schema instead of infer from file, so we can support ddl
> command as follows:
> CREATE TEMPORARY TABLE avroTable(a int, b string)
> USING org.apache.spark.sql.avro
> OPTIONS (path "../hive/src/test/resources/data/files/episodes.avro")
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]