insertoverwritetablet_table1select*fromt_table1whereXXXX;其中xxx是你需要保留的数据的查询条件。如果清空表,如下:insertoverwritetablet_table1select*fromt_table1where1=0;