小编Cha*_*ika的帖子

在hive中删除表命令

我试图删除一个表并在Hive中重新创建它.删除表后,如果我在表上运行select查询,它会在删除之前显示表中的旧行.当表已经被删除时,这怎么可能?为什么即使在删除表并重新创建表之后它仍保留行?

hive> select * from abc;

A 30

B 40

hive> drop table abc;

hive> create external table abc ( name string, qty int);

hive> select * from abc;

A 30

B 40 
Run Code Online (Sandbox Code Playgroud)

hadoop hive bigdata

3
推荐指数
1
解决办法
4969
查看次数

标签 统计

bigdata ×1

hadoop ×1

hive ×1