CLEAN
Function
Cleans instants on the Timeline based on configurations and deletes historical version files to reduce the data storage and read/write pressure of Hudi tables.
Syntax
RUN CLEAN ON tableIdentifier;
RUN CLEAN ON tablelocation;
Parameter Description
Parameter |
Description |
---|---|
tableIdentifier |
Name of the Hudi table |
tablelocation |
Storage path of the Hudi table |
Example
run clean on h1; run clean on "/tmp/hudi/h1";
Precautions
Only the table owner can perform the clean operation on a table.
To modify the default cleaning parameters, run set commands to configure the parameters such as the number of commits to be retained.
System Response
You can view command execution results in the driver log or on the client.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot