Help Center/
Data Lake Insight/
Hudi SQL Syntax Reference/
DLI Hudi SQL Syntax Reference/
Hudi DDL Syntax/
TRUNCATE TABLE
Updated on 2025-02-22 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. |
Example
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: Hudi DDL Syntax
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