hive INSERT OVERWRITE table could not be cleaned up.

create table maats.account_channel ROW FORMAT DELIMITED FIELDS TERMINATED BY '^' STORED AS TEXTFILE as select distinct a.account,b.channel from maats.register a join maats.install b on a.device = b.device;
 
INSERT OVERWRITE table maats.account_channel select distinct a.account,b.channel from maats.register a join maats.install b on a.device = b.device;
 
hvie 1.1 
第一次在create table 时没有加 STORED AS TEXTFILE 结果 INSERT OVERWRITE table 命令就只能执行一次,后面就报错,lz 就很奇怪,因为之前是可以的,记得hive默认是textFile格式的文件,
beeline中可以,但是 hive -e 不可以,
原文地址:https://www.cnblogs.com/rocky-AGE-24/p/7470825.html