Help Center/
MapReduce Service/
Component Operation Guide (LTS) (Paris Region)/
Using Hudi/
Hudi SQL Syntax Reference/
DDL/
TRUNCATE TABLE
Updated on 2022-12-14 GMT+08:00
TRUNCATE TABLE
Function
This command is used to clear all data in a specific table.
Syntax
TRUNCATE TABLE tableIdentifier
Parameter Description
Parameter |
Description |
---|---|
tableIdentifier |
Table name. |
Examples
truncate table h0_1;
System Response
Data in the table is cleared. You can run the QUERY statement to check whether data in the table has been deleted.
Parent topic: DDL
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot