Maintenance Specifications for Spark on Hudi Table Data
Do not modify key table attribute information using the alter command: type/primaryKey/preCombineField/hoodie.index.type.
Incorrect example: executing the following statements to modify key table attributes:
alter table dsrTable set tblproperties('type'='xx'); alter table dsrTable set tblproperties('primaryKey'='xx'); alter table dsrTable set tblproperties('preCombineField'='xx'); alter table dsrTable set tblproperties('hoodie.index.type'='xx');
Engines like Hive and Presto can directly modify table properties, but such modifications can lead to duplicate data or even data corruption in the entire Hudi table; modifying these properties is prohibited.
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