Help Center/
MapReduce Service/
Component Operation Guide (LTS)/
Using Hudi/
Hudi SQL Syntax Reference/
Hudi DDL Syntax/
TRUNCATE TABLE
Updated on 2024-10-09 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: 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