请帮助我如何实施 CREATE TABLE AS SELECT 为了简单 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; 有没有办法在 Impala 中实现这一点?
CREATE TABLE AS SELECT
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;
eimct9ow1#
正如注解中提到的,自从1.2:documentation,jira ticket以来,impala支持createtable as select。
1条答案
按热度按时间eimct9ow1#
正如注解中提到的,自从1.2:documentation,jira ticket以来,impala支持createtable as select。