标签: hadoop hive hiveql
我最近有一些HDFS文件(支持我所有的Hive表)突然消失了。管理员说它是由INSERT OVERWRITE查询引起的:
insert overwrite table [table1] select [column] from [table2] as e lateral view explode(e.col) t as words;
是的,我知道你现在无法插入侧视图。
问题是 - 如何为单个表覆盖插入数据删除数据库中每个表的数据......或者可以吗?