vue的startDate hive怎么在不删除数据,的情况下,重新建表?

hive怎么在不删除数据,的情况下,重新建表?insert overwrite table tu1 table1 select*from tu1其中XXX是您需要保留的数据的查询条件。如果清空该表,您

hive怎么在不删除数据,的情况下,重新建表?

insert overwrite table tu1 table1 select*from tu1其中XXX是您需要保留的数据的查询条件。

如果清空该表,您可以看到以下内容:

插入重写表t_2;table1从t_2;table1中选择*,其中1=0