Lin Liu created HUDI-9717:
-----------------------------

             Summary: Disallow mutable merge behavior
                 Key: HUDI-9717
                 URL: https://issues.apache.org/jira/browse/HUDI-9717
             Project: Apache Hudi
          Issue Type: Sub-task
            Reporter: Lin Liu
             Fix For: 1.1.0


Currently Hudi allows users to change merging behavior defined by the table 
config during writes by using write merging configs, including
1.  hoodie.datasource.write.payload.class
2. hoodie.write.record.merge.strategy.id
3. hoodie.write.record.merge.mode.
(Note: Partial_Update_Mode is introduced in 1.1, which does not have 
corresponding write config.)



Such behavior is risky because
1. the merge behavior is non-trackable, and 
2. it could produce inconsistent data for the table when the overwrite config 
is not compatible with the table configs. 

Hudi should disable such behavior.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to