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

Reply via email to