【发布时间】:2016-09-25 04:09:25
【问题描述】:
Hive - 从现有表创建一个外部表,如果无法完成...是否有解决方法。
我使用的 hive 版本是:Hive 1.2.1000.2.4.2.0-258
我想运行的查询如下...
create external table table_1
stored as orc
location'wasb://vnextdev@1vnextstorage.blob.core.windows.net/output/table_1/'
tblproperties ("orc.compress"="SNAPPY")
as
select * from table_0 limit 0;
在 cwiki 他们解释为
CTAS 有以下限制:
The target table cannot be a partitioned table.
The target table cannot be an external table.
The target table cannot be a list bucketing table.
谢谢你:-)
【问题讨论】:
-
您在运行上述查询时是否遇到任何错误?