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

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

Cheng Hao created SPARK-7915:
--------------------------------

             Summary: 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org