标签: cloudera impala
请帮助我了解如何实施CREATE TABLE AS SELECT
CREATE TABLE AS SELECT
简单create table t1 as select * from t2;我可以实现
create table t1 as select * from t2
Create table t1 like t2; insert into t1 as select * from t2;
但是如何实施create table t1 as select c1,c2,c3 from t2;
create table t1 as select c1,c2,c3 from t2;
有没有办法在impala中实现这个?
答案 0 :(得分:4)
正如评论中所提到的,从1.2开始,Impala支持CREATE TABLE AS SELECT:documentation,JIRA ticket。