Hive刪除表中數據

方式一:僅刪除表中數據,保留表結構spa truncate table 表名; .net (truncate用於刪除全部的行,這個行爲在hive元存儲刪除數據是不可逆的) 或  delete from 表名 where 1 = 1 ;   blog (delete用於刪除特定條件下的行,使用where 1=1 刪除全部行  SQL中where 1 = 1 的使用)get truncate 不能刪除
相關文章
相關標籤/搜索