truncate在beline中报错
0: jdbc:hive2://192.168.222.115:10000> truncate table sales_order;
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Exception while processing
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Exception while processing (state=08S01,code=1)
解决办法
- 换成hive执行就可以了