You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Wendell (JIRA)" <ji...@apache.org> on 2014/12/27 09:13:13 UTC
[jira] [Commented] (SPARK-4574) Adding support for defining schema
in foreign DDL commands.
[ https://issues.apache.org/jira/browse/SPARK-4574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259311#comment-14259311 ]
Patrick Wendell commented on SPARK-4574:
----------------------------------------
[~scwf] when creating issues please to not set the "Fix Version/s" field. That field is only meant to be set by a committer once a patch is merged into a specific branch.
> 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: New Feature
> Components: SQL
> Affects Versions: 1.1.0
> Reporter: wangfei
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org