我怎么才能让它工作呢?
hive> desc temp;
OK
a int
b int
Time taken: 0.077 seconds, Fetched: 2 row(s)
我想创建包含列名为c和d的t2配置单元表,但出现以下错误。
hive> create table t2(c int,d int) as select a,b from temp;
FAILED: SemanticException [Error 10065]: CREATE TABLE AS SELECT command cannot specify the list of columns for the target table
https://stackoverflow.com/questions/43178920
复制相似问题