之前没有用过truncate语法,直接就drop table 之类的,后来来到新环境, 发现MySQL环境和hive都可以用truncate语法,清空表内容,但是表的框架不变,举例子如下: truncate table 表名