yihua commented on code in PR #11943:
URL: https://github.com/apache/hudi/pull/11943#discussion_r1811563842
##########
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java:
##########
@@ -371,9 +365,9 @@ public HoodieTableConfig(HoodieStorage storage, StoragePath
metaPath, String pay
setValue(PAYLOAD_CLASS_NAME, payloadClassName);
needStore = true;
}
- if (contains(PAYLOAD_TYPE) && payloadClassName != null
- &&
!payloadClassName.equals(RecordPayloadType.valueOf(getString(PAYLOAD_TYPE)).getClassName()))
{
- setValue(PAYLOAD_TYPE,
RecordPayloadType.fromClassName(payloadClassName).name());
+ if (contains(RECORD_MERGE_MODE) && recordMergeMode != null
Review Comment:
Is this already handled somewhere?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]