[ 
https://issues.apache.org/jira/browse/SPARK-7915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563091#comment-14563091
 ] 

Apache Spark commented on SPARK-7915:
-------------------------------------

User 'chenghao-intel' has created a pull request for this issue:
https://github.com/apache/spark/pull/6458

> 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
>
> {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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to