You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/05/28 17:33:19 UTC

[jira] [Assigned] (SPARK-7915) Support specifying the column list for target table in CTAS

     [ https://issues.apache.org/jira/browse/SPARK-7915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-7915:
-----------------------------------

    Assignee: Apache Spark

> Support specifying the column list for target table in CTAS
> -----------------------------------------------------------
>
>                 Key: SPARK-7915
>                 URL: https://issues.apache.org/jira/browse/SPARK-7915
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Cheng Hao
>            Assignee: Apache Spark
>
> {code}
> create table t1 (a int, b string) as select key, value from src;
> desc t1;
> key	int	NULL
> value	string	NULL
> {code}
> Thus Hive doesn't support specifying the column list for target table in CTAS, however, we should either throwing exception explicitly, or supporting the this feature, we just pick up the later, which seems useful and straightforward.



--
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