Spark Table Data Maintenance Specifications
Do not modify key table attribute information using the alter command: type/primaryKey/preCombineField/hoodie.index.type.
Error 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');
Other engines aside from Spark can also modify Hudi table metadata, but such modifications can lead to data duplication or even data corruption in the entire Hudi table; therefore, modification of the above attributes 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